diff options
author | jlam <jlam@pkgsrc.org> | 2001-08-29 22:41:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-08-29 22:41:00 +0000 |
commit | 63fc151cb9f15f8bcc66bbeca21050fea30c29d3 (patch) | |
tree | 0943c3791afa0b712d3818b69672014acfe55e03 /audio/wsoundserver/Makefile | |
parent | 70004632b203c88d357d29ec8f217d1caa85f9c7 (diff) | |
download | pkgsrc-63fc151cb9f15f8bcc66bbeca21050fea30c29d3.tar.gz |
Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links. These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.
Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
Diffstat (limited to 'audio/wsoundserver/Makefile')
-rw-r--r-- | audio/wsoundserver/Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile index 00a3e03d875..6ef0f15b147 100644 --- a/audio/wsoundserver/Makefile +++ b/audio/wsoundserver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/07/24 10:39:01 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2001/08/29 22:41:01 jlam Exp $ # DISTNAME= WSoundServer-0.4.0 @@ -18,15 +18,6 @@ GNU_CONFIGURE= YES USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -.include "../../mk/bsd.prefs.mk" - -.if (${OPSYS} == SunOS) -CPPFLAGS+= -I${X11BASE}/include -MAKE_ENV+= OSSAUDIO_LIBS= -.else -MAKE_ENV+= OSSAUDIO_LIBS=-lossaudio -.endif - post-patch: @cd ${WRKSRC}/doc && for f in *; do \ ${SED} "s/1x/1/g" $$f > $$f.tmp && ${MV} $$f.tmp $$f; \ @@ -46,4 +37,5 @@ post-install: .include "../../devel/libdockapp/buildlink.mk" .include "../../wm/windowmaker/buildlink.mk" .include "../../mk/ossaudio.buildlink.mk" +.include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" |