pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libaudiofile Use LDFLAGS.SunOS instead of condit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4729431ce2d2
branches:  trunk
changeset: 468596:4729431ce2d2
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Feb 15 12:03:59 2004 +0000

description:
Use LDFLAGS.SunOS instead of conditional addition to LDFLAGS.

diffstat:

 audio/libaudiofile/Makefile |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 65bd22bebfc0 -r 4729431ce2d2 audio/libaudiofile/Makefile
--- a/audio/libaudiofile/Makefile       Sun Feb 15 11:59:04 2004 +0000
+++ b/audio/libaudiofile/Makefile       Sun Feb 15 12:03:59 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2004/02/14 18:26:27 jmmv Exp $
+# $NetBSD: Makefile,v 1.34 2004/02/15 12:03:59 jlam Exp $
 
 DISTNAME=              audiofile-0.2.5
 PKGNAME=               lib${DISTNAME}
@@ -18,16 +18,12 @@
 USE_LIBTOOL=           YES
 PKGCONFIG_OVERRIDE=    audiofile.pc.in
 
+LDFLAGS.SunOS+=                -Wl,${RPATH_FLAG}/usr/ucblib -L/usr/ucblib
+
 DOCDIR=                        ${PREFIX}/share/doc/libaudiofile
 
 post-install:
        ${INSTALL_DATA_DIR} ${DOCDIR}
        cd ${WRKSRC}/docs; ${INSTALL_DATA} af* sf* ${DOCDIR}
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-LDFLAGS+=      -Wl,${RPATH_FLAG}/usr/ucblib -L/usr/ucblib
-.endif
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index