diff options
author | tron <tron@pkgsrc.org> | 2001-07-07 17:15:05 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-07-07 17:15:05 +0000 |
commit | e9e6b71373c86429159c00340e368af7a42735e9 (patch) | |
tree | d548c3d672c43299126b0869cbb5da24ddf6c1e4 /audio/wsoundserver/Makefile | |
parent | 7190c9bfae30f9767dbde752a6e2702d28d554a4 (diff) | |
download | pkgsrc-e9e6b71373c86429159c00340e368af7a42735e9.tar.gz |
Make this package work under Solaris.
Diffstat (limited to 'audio/wsoundserver/Makefile')
-rw-r--r-- | audio/wsoundserver/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile index 957becca6e7..7e854f951f6 100644 --- a/audio/wsoundserver/Makefile +++ b/audio/wsoundserver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/06/29 21:20:27 zuntum Exp $ +# $NetBSD: Makefile,v 1.3 2001/07/07 17:15:05 tron Exp $ # DISTNAME= WSoundServer-0.4.0 @@ -18,6 +18,15 @@ USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig USE_X11BASE= YES +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == SunOS) +CPPFLAGS+= -I${X11BASE}/include +MAKE_ENV+= OSSAUDIO_LIBS= +.else +MAKE_ENV+= OSSAUDIO_LIBSS=-lossaudio +.endif + post-patch: @cd ${WRKSRC}/doc && for f in *; do \ ${SED} "s/1x/1/g" $$f > $$f.tmp && ${MV} $$f.tmp $$f; \ |