Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160555957
D15016.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D15016.id.diff
View Options
Index: Makefile
===================================================================
--- Makefile
+++ Makefile
@@ -160,11 +160,7 @@
PKGNAMESUFFIX=${PKGNAMESUFFIX} \
ARCH_LIB=${_ARCH_LIB}
-_PERL5_DEFAULT_FILE= /tmp/PERL5_DEFAULT
-
-# Get the default version, and possibly, overwrite it.
.include <bsd.port.options.mk>
-.sinclude "${_PERL5_DEFAULT_FILE}"
# if this port is default due PERL5_DEFAULT
# change PKGNAME to reflect this
@@ -210,22 +206,10 @@
.endif
# Put a symlink to the future libperl.so.x.yy so that -lperl works.
-# Also, save PERL5_DEFAULT in case someone is not using the default Perl
-# version whilst not having set DEFAULT_VERSIONS=perl5=blah. While upgrading,
-# portmaster/portupgrade will remove the installed Perl version, and it will
-# remove any way to guess what the default Perl version is needed.
post-extract:
${LN} -s libperl.so.${PERL_VERSION} ${WRKSRC}/libperl.so
${LN} -s libperl.so.${PERL_VERSION} ${WRKSRC}/libperl.so.${PERL_VER}
-.if !defined(PACKAGE_BUILDING)
- @${ECHO_CMD} "PERL5_DEFAULT=${PERL5_DEFAULT}" > ${_PERL5_DEFAULT_FILE}
-.endif
-.if !defined(PACKAGE_BUILDING)
-post-clean:
- @${RM} ${_PERL5_DEFAULT_FILE}
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 26, 3:39 PM (17 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34361655
Default Alt Text
D15016.id.diff (1 KB)
Attached To
Mode
D15016: perl: remove _PERL5_DEFAULT_FILE - unnecessary these days?
Attached
Detach File
Event Timeline
Log In to Comment