summaryrefslogtreecommitdiff
path: root/audio/snd
diff options
context:
space:
mode:
authorminoura <minoura@pkgsrc.org>2000-09-22 06:50:06 +0000
committerminoura <minoura@pkgsrc.org>2000-09-22 06:50:06 +0000
commit63bf7fb3c0f5504293ccce9d972e5eb6a06ad073 (patch)
tree488d9ab0c0c58e86a95db20f60cd67b383195d94 /audio/snd
parent3ad1ad293e2d14b899d59d24c8a62103b85369d5 (diff)
downloadpkgsrc-63bf7fb3c0f5504293ccce9d972e5eb6a06ad073.tar.gz
Make this package work in environment where X11 and Motif is
installed in non-standard directories, typically with xpkgwedge. Reviewed by hubertf.
Diffstat (limited to 'audio/snd')
-rw-r--r--audio/snd/Makefile3
-rw-r--r--audio/snd/files/patch-sum4
-rw-r--r--audio/snd/patches/patch-ae6
3 files changed, 7 insertions, 6 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile
index f34a2bb50f8..b4945704bb6 100644
--- a/audio/snd/Makefile
+++ b/audio/snd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2000/08/23 23:14:21 tron Exp $
+# $NetBSD: Makefile,v 1.18 2000/09/22 06:50:06 minoura Exp $
#
DISTNAME= snd
@@ -16,6 +16,7 @@ USE_MOTIF= YES
USE_XPM= YES
MAKEFILE= makefile.netbsd
ALL_TARGET= snd
+MAKE_ENV+= MOTIFBASE=${MOTIFBASE}
do-install:
cd ${WRKSRC} ; ${INSTALL_PROGRAM} snd ${PREFIX}/bin
diff --git a/audio/snd/files/patch-sum b/audio/snd/files/patch-sum
index 868d7a9c5ff..6217a8f230c 100644
--- a/audio/snd/files/patch-sum
+++ b/audio/snd/files/patch-sum
@@ -1,10 +1,10 @@
-$NetBSD: patch-sum,v 1.2 1999/08/09 17:31:09 tron Exp $
+$NetBSD: patch-sum,v 1.3 2000/09/22 06:50:07 minoura Exp $
MD5 (patch-aa) = a5511cb5fb8626e7a085c400b6f22cef
MD5 (patch-ab) = 057b5f839e0c57763948488a193c4aa2
MD5 (patch-ac) = 20963138d730b5213c99b336fe8c7bed
MD5 (patch-ad) = 73f83736402e55f557e0d06275bedfcf
-MD5 (patch-ae) = f3dae9aa0d501f6391d5d6e1060def23
+MD5 (patch-ae) = 00acd8c237786effd8e3e3ec7da90c22
MD5 (patch-af) = aa87dfac61ba6ff1f7c0a1f24bda3e4a
MD5 (patch-ag) = d3bf74f2a03c89608d3afca93e6aaf97
MD5 (patch-ah) = 484ca08713bcebc457c88335720dd78f
diff --git a/audio/snd/patches/patch-ae b/audio/snd/patches/patch-ae
index 9ee92c9d198..21737f1e56d 100644
--- a/audio/snd/patches/patch-ae
+++ b/audio/snd/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.5 1999/08/09 17:31:10 tron Exp $
+$NetBSD: patch-ae,v 1.6 2000/09/22 06:50:07 minoura Exp $
--- makefile.netbsd.orig Mon Aug 9 19:22:24 1999
+++ makefile.netbsd Mon Aug 9 19:25:36 1999
@@ -7,10 +7,10 @@ $NetBSD: patch-ae,v 1.5 1999/08/09 17:31:10 tron Exp $
+
+CC = gcc
+#CFLAGS = -O2 -DXPM -DHAVE_OSS -I${X11BASE}/include -I${LOCALBASE}/include
-+CFLAGS += -DXPM -DHAVE_OSS -I${X11BASE}/include -I${LOCALBASE}/include
++CFLAGS += -DXPM -DHAVE_OSS -I${X11BASE}/include -I${MOTIFBASE}/include -I${PREFIX}/include
+CFLAGS += -g
+
-+LIBS = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lMrm -lXm -lXpm -lXmu -lSM -lXt -lXext -lX11 -lm -lossaudio
++LIBS = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -L${MOTIFBASE}/lib -Wl,-R${MOTIFBASE}/lib -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lMrm -lXm -lXpm -lXmu -lSM -lXt -lXext -lX11 -lm -lossaudio
+CLM_HEADERS = cmus_prototypes.h cmus.h sound_types.h
+SND_HEADERS = snd.h snd-0.h snd-1.h snd-ufun.h snd-strings.h sndclm.h
+SND_X_HEADERS = snd-x0.h snd-x1.h