summaryrefslogtreecommitdiff
path: root/Mk/Uses/perl5.mk
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2018-01-11 16:22:02 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2018-01-11 16:22:02 +0000
commit4c5b38d680d09a251859caba65bf240523fba890 (patch)
tree03aa9539102a9790dc8f3eec4d58da81d41eac34 /Mk/Uses/perl5.mk
parent- Unbreak the port on sparc64, by 's|-fpic|-fPIC|' in the Makefile (diff)
CONFIGURE_ARGS already contains CC="${CC}". Also add LD="${CC}" so the
same compiler is used for both compiling and linking.
Notes
Notes: svn path=/head/; revision=458753
Diffstat (limited to 'Mk/Uses/perl5.mk')
-rw-r--r--Mk/Uses/perl5.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index ebb420ac94e4..c5f1be2e71bf 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -237,7 +237,7 @@ TEST_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT}
. endif
. if ${_USE_PERL5:Mconfigure}
-CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \
+CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" LD="${CC}" PREFIX="${PREFIX}" \
INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib"
CONFIGURE_SCRIPT?= Makefile.PL
MAN3PREFIX?= ${PREFIX}/${SITE_PERL_REL}