diff options
author | richard <richard@pkgsrc.org> | 2015-09-29 11:52:48 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2015-09-29 11:52:48 +0000 |
commit | a01fa7ff8182e2422b0b7f1f8dd058eb9f1a4f96 (patch) | |
tree | f0516f9e10a23a65b03f364db48c6ab2b0ced736 /devel/p5-subversion | |
parent | fc54f4c1ed28c8c476f24b3208cbe55a90b1e4de (diff) | |
download | pkgsrc-a01fa7ff8182e2422b0b7f1f8dd058eb9f1a4f96.tar.gz |
Shelling perl in the Makefile can be problematic since pbulk-index may
invoke the Makefile prior to having the perl dependency installed.
Instead, gather ldopts during configure and pass them to libsvn_swig_perl
in order to build with the necessary ldflags.
Diffstat (limited to 'devel/p5-subversion')
-rw-r--r-- | devel/p5-subversion/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/devel/p5-subversion/Makefile b/devel/p5-subversion/Makefile index 3dc0c435fa0..e0e18713dad 100644 --- a/devel/p5-subversion/Makefile +++ b/devel/p5-subversion/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.86 2015/09/25 08:43:03 richard Exp $ +# $NetBSD: Makefile,v 1.87 2015/09/29 11:52:48 richard Exp $ PKGNAME= p5-subversion-${SVNVER} COMMENT= Perl bindings for Subversion @@ -17,11 +17,6 @@ INSTALL_TARGET= install-swig-pl TEST_TARGET= check-swig-pl MAKE_ENV+= SUBVERSION_BASE_PREFIX=${BUILDLINK_PREFIX.subversion-base} -PERL_LDOPTS!= perl -MExtUtils::Embed -e ldopts -.if !empty(PERL_LDOPTS:M-fstack-protector*) -LDFLAGS.SunOS+= ${PERL_LDOPTS:M-fstack-protector*} -.endif - post-patch: ${RM} ${WRKSRC}/build-outputs.mk ${CP} ${FILESDIR}/build-outputs.mk ${WRKSRC}/build-outputs.mk |