summaryrefslogtreecommitdiff
path: root/audio/wsoundserver/Makefile
diff options
context:
space:
mode:
authortron <tron>2001-07-07 17:15:05 +0000
committertron <tron>2001-07-07 17:15:05 +0000
commit49660bdee8b1ea23ec1023dd7ba907a318b9c839 (patch)
treed548c3d672c43299126b0869cbb5da24ddf6c1e4 /audio/wsoundserver/Makefile
parent2486b65f106efdc8fb6065308027e0e7c391b4e8 (diff)
downloadpkgsrc-49660bdee8b1ea23ec1023dd7ba907a318b9c839.tar.gz
Make this package work under Solaris.
Diffstat (limited to 'audio/wsoundserver/Makefile')
-rw-r--r--audio/wsoundserver/Makefile11
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; \