summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-07-07 17:15:05 +0000
committertron <tron@pkgsrc.org>2001-07-07 17:15:05 +0000
commite9e6b71373c86429159c00340e368af7a42735e9 (patch)
treed548c3d672c43299126b0869cbb5da24ddf6c1e4 /audio
parent7190c9bfae30f9767dbde752a6e2702d28d554a4 (diff)
downloadpkgsrc-e9e6b71373c86429159c00340e368af7a42735e9.tar.gz
Make this package work under Solaris.
Diffstat (limited to 'audio')
-rw-r--r--audio/wsoundserver/Makefile11
-rw-r--r--audio/wsoundserver/distinfo4
-rw-r--r--audio/wsoundserver/patches/patch-ac4
3 files changed, 14 insertions, 5 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; \
diff --git a/audio/wsoundserver/distinfo b/audio/wsoundserver/distinfo
index 90c3b9f7680..0d294c5a32e 100644
--- a/audio/wsoundserver/distinfo
+++ b/audio/wsoundserver/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 12:14:40 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/07/07 17:15:05 tron Exp $
SHA1 (WSoundServer-0.4.0.tar.gz) = b414025f0f19e66cd9146546ecf634564941b1e4
Size (WSoundServer-0.4.0.tar.gz) = 147044 bytes
SHA1 (patch-aa) = 8613c67a3b87007255cd075128c7c5a62cdaf4a3
SHA1 (patch-ab) = 93853707636168459e842c90c6dc313ded1cb02a
-SHA1 (patch-ac) = f93b9bb268af157e443cb87a4621081de79eee1b
+SHA1 (patch-ac) = a8968a49ad6d2e3ae755e7f980704819c15d9654
SHA1 (patch-ad) = 998cc4b2f87c4bce4d8c32e42aa9c06134633252
SHA1 (patch-ae) = 3a008dc50f6e78070ceb78b1f564d7c94be2dfea
SHA1 (patch-af) = 1ea20d0e00d19a2c23bb8e07cdf182e43db28ca8
diff --git a/audio/wsoundserver/patches/patch-ac b/audio/wsoundserver/patches/patch-ac
index 6a916a949a9..9cc9c7ae240 100644
--- a/audio/wsoundserver/patches/patch-ac
+++ b/audio/wsoundserver/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $
+$NetBSD: patch-ac,v 1.2 2001/07/07 17:15:06 tron Exp $
--- wslib/Makefile.in.orig Fri Mar 31 22:10:25 2000
+++ wslib/Makefile.in
@@ -7,7 +7,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $
libwsound.la: $(libwsound_la_OBJECTS) $(libwsound_la_DEPENDENCIES)
- $(LINK) -rpath $(libdir) $(libwsound_la_LDFLAGS) $(libwsound_la_OBJECTS) $(libwsound_la_LIBADD) $(LIBS)
-+ $(LINK) -rpath $(libdir) $(libwsound_la_LDFLAGS) $(libwsound_la_OBJECTS) $(libwsound_la_LIBADD) $(LIBS) -lossaudio
++ $(LINK) -rpath $(libdir) $(libwsound_la_LDFLAGS) $(libwsound_la_OBJECTS) $(libwsound_la_LIBADD) $(LIBS) $(OSSAUDIO_LIBS)
mostlyclean-noinstPROGRAMS: