aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-09-08 02:24:26 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-09-08 02:24:26 +0000
commiteb50e03a96e3760fdddc18216663d529337d8788 (patch)
tree9cc6207608a223dab49ebe56dab9cc06aedfc73e /graphics
parent30c04da90965ea3106552f5277b5ee3a34d1c424 (diff)
downloadports-eb50e03a96e3760fdddc18216663d529337d8788.tar.gz
ports-eb50e03a96e3760fdddc18216663d529337d8788.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/OpenEXR/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile
index afabe399501b..e4213d1d9222 100644
--- a/graphics/OpenEXR/Makefile
+++ b/graphics/OpenEXR/Makefile
@@ -7,7 +7,7 @@
PORTNAME= OpenEXR
PORTVERSION= 1.6.1
-PORTREVISION= 1
+PORTREVISION= 2
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
@@ -26,6 +26,10 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--enable-imfexamples
+# must be explicitely linked with -l{thr|pthread}
+CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
+PTHREAD_LIBS+= `${CC} -dumpspecs | ${GREP} -m 1 pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}`
+
WRKSRC= ${WRKDIR}/${DISTNAME}
test check: build