diff options
author | jlam <jlam> | 2004-02-15 12:03:59 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-15 12:03:59 +0000 |
commit | 0d007c26bd468227afb18729a2c4e8b6f7c267f2 (patch) | |
tree | 12e42186946b34cd993ca9c67c2fe181faaa455d /audio/libaudiofile | |
parent | a91c1dd867e7ab326f6d108ec9b9b1ea6827f8a6 (diff) | |
download | pkgsrc-0d007c26bd468227afb18729a2c4e8b6f7c267f2.tar.gz |
Use LDFLAGS.SunOS instead of conditional addition to LDFLAGS.
Diffstat (limited to 'audio/libaudiofile')
-rw-r--r-- | audio/libaudiofile/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile index 5fbbafca683..b321437604d 100644 --- a/audio/libaudiofile/Makefile +++ b/audio/libaudiofile/Makefile @@ -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 @@ GNU_CONFIGURE= YES 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" |