diff options
author | jlam <jlam> | 2001-11-28 05:40:18 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-11-28 05:40:18 +0000 |
commit | c1b5bbea128cecfdf127224a30a26f846d0411ce (patch) | |
tree | ec0371fb7776e8c740318e48ea5080008163a935 /lang | |
parent | d513679ef0f791b51bd887b07034cdb76ecbd611 (diff) | |
download | pkgsrc-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.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/buildlink.mk | 3 |
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 |