pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/openexr apparently on IRIX some of the math f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7131abed117a
branches:  trunk
changeset: 512006:7131abed117a
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Fri Apr 28 17:55:48 2006 +0000

description:
apparently on IRIX some of the math functions are found in libmx, so
add this explicitly to LDFLAGS

diffstat:

 graphics/openexr/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r c3448527996f -r 7131abed117a graphics/openexr/Makefile
--- a/graphics/openexr/Makefile Fri Apr 28 17:44:53 2006 +0000
+++ b/graphics/openexr/Makefile Fri Apr 28 17:55:48 2006 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index