diff options
author | dsainty <dsainty@pkgsrc.org> | 2011-09-20 11:31:13 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2011-09-20 11:31:13 +0000 |
commit | f3f4be6177717d117baf83317a15fdad5859f343 (patch) | |
tree | 49c5667a76c2e209adacdb324ab1877fe5f8ab8d /lang | |
parent | f9722fd47e77b82e9c040121c43b125489a7542f (diff) | |
download | pkgsrc-f3f4be6177717d117baf83317a15fdad5859f343.tar.gz |
If building with threads support, add PTHREAD_LDFLAGS to LDFLAGS.
Fixes build on Ubuntu 11.04. Unlikely to have an effect on platforms that
already built, so no PKGREVISION bump.
Ok'd in freeze by wiz@
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index 211d39fe42d..7e51a1a55b9 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.174 2011/09/17 18:51:35 brook Exp $ +# $NetBSD: Makefile,v 1.175 2011/09/20 11:31:13 dsainty Exp $ .include "license.mk" .include "Makefile.common" @@ -219,6 +219,7 @@ PKG_SUGGESTED_OPTIONS+= 64bitauto . include "../../mk/pthread.buildlink3.mk" CONFIGURE_ARGS+= -Duseithreads CFLAGS+= ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LDFLAGS} LIBSWANTED+= ${PTHREAD_LIBS:M-l*:S/^-l//} . if ${OBJECT_FMT} == "XCOFF" PERL5_RPATH_THREAD=-thread |