From 8eafeb8492fa0a45c7afc40b273b7eac4edb44ac Mon Sep 17 00:00:00 2001 From: dsainty Date: Sun, 29 Oct 2006 13:51:18 +0000 Subject: Pull in pthread support too. From Stoned Elipot via email. --- graphics/openexr/Makefile | 4 +++- graphics/openexr/buildlink3.mk | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'graphics') diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile index 17207fed9c3..6f39c05a8d0 100644 --- a/graphics/openexr/Makefile +++ b/graphics/openexr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/10/29 13:13:07 dsainty Exp $ +# $NetBSD: Makefile,v 1.12 2006/10/29 13:51:18 dsainty Exp $ DISTNAME= openexr-1.4.0a PKGNAME= openexr-1.4.0 @@ -17,6 +17,7 @@ USE_LIBTOOL= yes GNU_CONFIGURE= yes PKGCONFIG_OVERRIDE= ${WRKSRC}/OpenExr.pc.in TEST_TARGET= check +PTHREAD_OPTS+= require .include "../../mk/bsd.prefs.mk" @@ -24,5 +25,6 @@ TEST_TARGET= check LDFLAGS+= -lmx .endif +.include "../../mk/pthread.buildlink3.mk" .include "../../x11/fltk/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/openexr/buildlink3.mk b/graphics/openexr/buildlink3.mk index dff1e3711d2..c42386af3e9 100644 --- a/graphics/openexr/buildlink3.mk +++ b/graphics/openexr/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:53 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.8 2006/10/29 13:51:18 dsainty Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ OPENEXR_BUILDLINK3_MK:= ${OPENEXR_BUILDLINK3_MK}+ @@ -15,6 +15,10 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openexr BUILDLINK_API_DEPENDS.openexr+= openexr>=1.2.1 BUILDLINK_ABI_DEPENDS.openexr+= openexr>=1.2.2nb1 BUILDLINK_PKGSRCDIR.openexr?= ../../graphics/openexr + +PTHREAD_OPTS+= require .endif # OPENEXR_BUILDLINK3_MK +.include "../../mk/pthread.buildlink3.mk" + BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3