Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2018 16:22:02 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458753 - head/Mk/Uses
Message-ID:  <201801111622.w0BGM2AJ009184@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Jan 11 16:22:02 2018
New Revision: 458753
URL: https://svnweb.freebsd.org/changeset/ports/458753

Log:
  CONFIGURE_ARGS already contains CC="${CC}".  Also add LD="${CC}" so the
  same compiler is used for both compiling and linking.

Modified:
  head/Mk/Uses/perl5.mk

Modified: head/Mk/Uses/perl5.mk
==============================================================================
--- head/Mk/Uses/perl5.mk	Thu Jan 11 16:16:16 2018	(r458752)
+++ head/Mk/Uses/perl5.mk	Thu Jan 11 16:22:02 2018	(r458753)
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801111622.w0BGM2AJ009184>