summaryrefslogtreecommitdiff
path: root/lang/perl5/Makefile
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-11-07 03:58:00 +0000
committersbd <sbd@pkgsrc.org>2012-11-07 03:58:00 +0000
commit9c1f56751f4e1ffea75c0c4d3d333ea8f9978b23 (patch)
tree4ac85b4bc387f602a8298ead209d4e1cbbd12e60 /lang/perl5/Makefile
parentb25e376e2ef712bf4b54b97454ca6ef1ce6ef9b3 (diff)
downloadpkgsrc-9c1f56751f4e1ffea75c0c4d3d333ea8f9978b23.tar.gz
Set ccflags and ldflags in Policy.sh instead of with CONFIGURE_ARGS.
Diffstat (limited to 'lang/perl5/Makefile')
-rw-r--r--lang/perl5/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index f4f28bb9073..3df227cbddc 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.190 2012/11/07 02:46:19 sbd Exp $
+# $NetBSD: Makefile,v 1.191 2012/11/07 03:58:00 sbd Exp $
.include "license.mk"
.include "Makefile.common"
@@ -45,8 +45,6 @@ PERL5_API_VERS_cmd= \
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -sde
-CONFIGURE_ARGS+= -D ccflags=${CFLAGS:Q}
-CONFIGURE_ARGS+= -D ldflags=${LDFLAGS:Q}
MAKE_ENV+= LC_ALL="C"
TEST_TARGET= test
@@ -61,6 +59,7 @@ SUBST_VARS.policysh+= LOWER_OPSYS
SUBST_VARS.policysh+= OBJECT_FMT
SUBST_VARS.policysh+= CC
SUBST_VARS.policysh+= CFLAGS
+SUBST_VARS.policysh+= LDFLAGS
SUBST_VARS.policysh+= COMPILER_RPATH_FLAG
SUBST_VARS.policysh+= PERL5_PREFIX
SUBST_VARS.policysh+= PERL5_SITEPREFIX