summaryrefslogtreecommitdiff
path: root/graphics/openexr
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2006-10-29 13:51:18 +0000
committerdsainty <dsainty@pkgsrc.org>2006-10-29 13:51:18 +0000
commit8eafeb8492fa0a45c7afc40b273b7eac4edb44ac (patch)
tree40c090b5632780a8a0af55c6c7f2014ce48f50b3 /graphics/openexr
parent3e51acf6cbef9d238b5545200f3d7967d8fc8c1a (diff)
downloadpkgsrc-8eafeb8492fa0a45c7afc40b273b7eac4edb44ac.tar.gz
Pull in pthread support too. From Stoned Elipot via email.
Diffstat (limited to 'graphics/openexr')
-rw-r--r--graphics/openexr/Makefile4
-rw-r--r--graphics/openexr/buildlink3.mk6
2 files changed, 8 insertions, 2 deletions
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/+$//}