diff options
Diffstat (limited to 'lang/perl5-devel/Makefile')
-rw-r--r-- | lang/perl5-devel/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/perl5-devel/Makefile b/lang/perl5-devel/Makefile index 39e7afde0f3a..b5c64a11be0b 100644 --- a/lang/perl5-devel/Makefile +++ b/lang/perl5-devel/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= perl -PORTREVISION= 0 +PORTREVISION= 1 # XXX Remove second line, uncomment first #DISTVERSION= ${PERL_VERSION} DISTVERSION= ${GH_TAGNAME:C/^v//:C/-g[0-9a-f]*$//} @@ -271,10 +271,15 @@ post-patch-PTHREAD-off: ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \ ${WRKSRC}/hints/freebsd.sh -.if ${CC} == /nxb-bin/usr/bin/cc post-build: + @${REINPLACE_CMD} -e '/^lddlflags/s|-L${WRKSRC} ||' \ + ${WRKSRC}/lib/Config_heavy.pl +.if ${CC} == /nxb-bin/usr/bin/cc @${REINPLACE_CMD} -e 's=/nxb-bin==' \ ${WRKSRC}/lib/Config.pm ${WRKSRC}/lib/Config_heavy.pl +# Restore Config.pm's timestamp so that Perl's build system does not think it +# needs to rebuild everything. + @${TOUCH} -r ${WRKSRC}/lib/Config.pm.bak ${WRKSRC}/lib/Config.pm .endif post-install: |