diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-15 12:03:59 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-15 12:03:59 +0000 |
commit | 255069c8757676214c470f51f2b4a9457988f155 (patch) | |
tree | 12e42186946b34cd993ca9c67c2fe181faaa455d /audio/libaudiofile/Makefile | |
parent | 1bd45403ee2909e7ec2d49939cdf96418a6cacdc (diff) | |
download | pkgsrc-255069c8757676214c470f51f2b4a9457988f155.tar.gz |
Use LDFLAGS.SunOS instead of conditional addition to LDFLAGS.
Diffstat (limited to 'audio/libaudiofile/Makefile')
-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" |