diff options
author | agc <agc> | 2003-11-16 14:01:20 +0000 |
---|---|---|
committer | agc <agc> | 2003-11-16 14:01:20 +0000 |
commit | 27525be3483ceaec545327f781fd8562344c4d87 (patch) | |
tree | 04074705c8afe935df59adc39c42ea04c889fa5e /textproc/opensp | |
parent | 537c7657e8b3f1a937310a44c2a48379294e05c2 (diff) | |
download | pkgsrc-27525be3483ceaec545327f781fd8562344c4d87.tar.gz |
Fix from Dan Winship for opensp and openjade -
opensp was building against unproven-pthreads, but openjade
was getting pth, so the link would fail. Copy the related
glue from opensp/Makefile to opensp/buildlink2.mk
fixes build problems in latest bulk builds.
Diffstat (limited to 'textproc/opensp')
-rw-r--r-- | textproc/opensp/buildlink2.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/opensp/buildlink2.mk b/textproc/opensp/buildlink2.mk index d281e20a89b..1fbe7ab15fb 100644 --- a/textproc/opensp/buildlink2.mk +++ b/textproc/opensp/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.1 2003/09/23 06:59:24 wiz Exp $ +# $NetBSD: buildlink2.mk,v 1.2 2003/11/16 14:01:20 agc Exp $ # # This Makefile fragment is included by packages that use opensp. # @@ -16,7 +16,14 @@ BUILDLINK_FILES.opensp+= include/OpenSP/*.cxx BUILDLINK_FILES.opensp+= include/OpenSP/*.h BUILDLINK_FILES.opensp+= lib/libosp.* +PTHREAD_OPTS+= native + .include "../../devel/gettext-lib/buildlink2.mk" +.include "../../mk/pthread.buildlink2.mk" + +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") +. include "../../devel/unproven-pthreads/buildlink2.mk" +.endif BUILDLINK_TARGETS+= opensp-buildlink |