summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-28 05:40:18 +0000
committerjlam <jlam>2001-11-28 05:40:18 +0000
commitc1b5bbea128cecfdf127224a30a26f846d0411ce (patch)
treeec0371fb7776e8c740318e48ea5080008163a935
parentd513679ef0f791b51bd887b07034cdb76ecbd611 (diff)
downloadpkgsrc-c1b5bbea128cecfdf127224a30a26f846d0411ce.tar.gz
Add PERL5OPT to the CONFIGURE_ENV, so that configure scripts that use
perl will use the correct local include and library search paths.
-rw-r--r--lang/perl5/buildlink.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/perl5/buildlink.mk b/lang/perl5/buildlink.mk
index 67852854f4f..b00dd335ed1 100644
--- a/lang/perl5/buildlink.mk
+++ b/lang/perl5/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.5 2001/11/28 05:18:02 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.6 2001/11/28 05:40:18 jlam Exp $
#
# This Makefile fragment is included by packages that use perl.
#
@@ -56,6 +56,7 @@ REPLACE_RPATH_SED+= -e "/^LD_RUN_PATH/s|${BUILDLINK_DIR}|${LOCALBASE}|g"
REPLACE_RPATH_SED+= -e "/^LD_RUN_PATH/s|${BUILDLINK_X11_DIR}|${X11BASE}|g"
PERL5OPT+= -I${PERL5_ARCHLIB:S/${BUILDLINK_PREFIX.perl}\//${BUILDLINK_DIR}\//}
+CONFIGURE_ENV+= PERL5OPT="${PERL5OPT}"
MAKE_ENV+= PERL5OPT="${PERL5OPT}"
.endif # USE_BUILDLINK_ONLY