diff options
author | adam <adam@pkgsrc.org> | 2010-12-26 12:16:06 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2010-12-26 12:16:06 +0000 |
commit | e71f23cfec839416431a0b0f8053a89a149f4878 (patch) | |
tree | b88ff704c20093a63aa1086b7adb77ba3fd95932 /lang/perl5 | |
parent | d2ea9f00234a63ecfa2d278edfdc5b6fac6f2ef2 (diff) | |
download | pkgsrc-e71f23cfec839416431a0b0f8053a89a149f4878.tar.gz |
Pass CFLAGS and LDFLAGS, otherwise fails on Mac OS X with different SDKs.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index e5a4edbd953..6f772e14500 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.166 2010/09/23 21:47:48 sno Exp $ +# $NetBSD: Makefile,v 1.167 2010/12/26 12:16:06 adam Exp $ .include "license.mk" .include "Makefile.common" @@ -48,6 +48,8 @@ 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 |