pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/openexr LIBS.IRIX is more appropriate than LD...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3565b81c3244
branches:  trunk
changeset: 526516:3565b81c3244
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Mar 13 10:00:55 2007 +0000

description:
LIBS.IRIX is more appropriate than LDFLAGS for specifying additional
libraries.

diffstat:

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

diffs (23 lines):

diff -r 7a13d040fc00 -r 3565b81c3244 graphics/openexr/Makefile
--- a/graphics/openexr/Makefile Tue Mar 13 10:00:30 2007 +0000
+++ b/graphics/openexr/Makefile Tue Mar 13 10:00:55 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/03/13 09:16:56 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2007/03/13 10:00:55 rillig Exp $
 
 DISTNAME=      openexr-1.4.0a
 PKGNAME=       openexr-1.4.0
@@ -18,12 +18,7 @@
 PKGCONFIG_OVERRIDE=    OpenEXR.pc.in
 TEST_TARGET=           check
 PTHREAD_OPTS+=         require
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "IRIX"
-LDFLAGS+=              -lmx
-.endif
+LIBS.IRIX+=            -lmx
 
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index