summaryrefslogtreecommitdiff
path: root/audio/snd/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-05-19 11:33:09 +0000
committeragc <agc@pkgsrc.org>1998-05-19 11:33:09 +0000
commit0b522512029e9a734d74c08fc68dfdb409884cf5 (patch)
tree20645560abc1e58a622cef261112a394581263f3 /audio/snd/patches
parent6630abd153c61b6a643df62b39374627af2c594e (diff)
downloadpkgsrc-0b522512029e9a734d74c08fc68dfdb409884cf5.tar.gz
Rather than using sed to patch the makefile.netbsd file for @X11BASE@
and @LOCALBASE@ values, use the X11BASE and LOCALBASE values that are passed through the environment.
Diffstat (limited to 'audio/snd/patches')
-rw-r--r--audio/snd/patches/patch-ae6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/snd/patches/patch-ae b/audio/snd/patches/patch-ae
index a7e912e9604..f8192b3c0aa 100644
--- a/audio/snd/patches/patch-ae
+++ b/audio/snd/patches/patch-ae
@@ -4,11 +4,11 @@
+# Snd make file for NetBSD, assuming Motif is available (audio currently stubbed out)
+
+CC = gcc
-+#CFLAGS = -O2 -DXPM -DHAVE_OSS -I@X11BASE@/include -I@LOCALBASE@/include
-+CFLAGS = -DXPM -DHAVE_OSS -I@X11BASE@/include -I@LOCALBASE@/include
++#CFLAGS = -O2 -DXPM -DHAVE_OSS -I${X11BASE}/include -I${LOCALBASE}/include
++CFLAGS = -DXPM -DHAVE_OSS -I${X11BASE}/include -I${LOCALBASE}/include
+CFLAGS += -g
+
-+LIBS = -L/usr/X11R6/lib -lMrm -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm -lossaudio
++LIBS = -L${X11BASE}/lib -lMrm -lXm -lXpm -lXmu -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