summaryrefslogtreecommitdiff
path: root/graphics/openexr
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2006-04-28 17:55:48 +0000
committerjschauma <jschauma@pkgsrc.org>2006-04-28 17:55:48 +0000
commit32f2626fe573f68886e8ed2971e426b3336c5b27 (patch)
treedeacc797cc719816afafa448b49588c48037f949 /graphics/openexr
parent65a8793c13d4b08ae29f0e627dc6137fa96c15b2 (diff)
downloadpkgsrc-32f2626fe573f68886e8ed2971e426b3336c5b27.tar.gz
apparently on IRIX some of the math functions are found in libmx, so
add this explicitly to LDFLAGS
Diffstat (limited to 'graphics/openexr')
-rw-r--r--graphics/openexr/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile
index 064463bd678..13f706cc5ff 100644
--- a/graphics/openexr/Makefile
+++ b/graphics/openexr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:09:36 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2006/04/28 17:55:48 jschauma Exp $
DISTNAME= OpenEXR-1.2.2
PKGNAME= openexr-1.2.2
@@ -16,5 +16,11 @@ GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= ${WRKSRC}/OpenExr.pc.in
TEST_TARGET= check
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "IRIX"
+LDFLAGS+= -lmx
+.endif
+
.include "../../x11/fltk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"