aboutsummaryrefslogtreecommitdiff
path: root/audio/xmradio/files/patch-Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmradio/files/patch-Imakefile')
-rw-r--r--audio/xmradio/files/patch-Imakefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/xmradio/files/patch-Imakefile b/audio/xmradio/files/patch-Imakefile
new file mode 100644
index 000000000000..35efdb7b0c94
--- /dev/null
+++ b/audio/xmradio/files/patch-Imakefile
@@ -0,0 +1,24 @@
+--- Imakefile.orig Wed Nov 14 01:33:48 2001
++++ Imakefile Tue Jul 27 10:25:29 2004
+@@ -4,9 +4,10 @@
+ #endif
+
+ #ifdef NetBSDArchitecture
+-LOCAL_LIBRARIES = XmClientLibs ${XMULIB} -lXpm -lossaudio -lm
++LOCAL_LIBRARIES = ${MOTIFLIB} ${XTOOLLIB} $(XPLIB) ${XLIB} ${XMULIB} -lXpm -los
++saudio -lm
+ #else
+-LOCAL_LIBRARIES = XmClientLibs ${XMULIB} -lXpm -lm
++LOCAL_LIBRARIES = ${MOTIFLIB} ${XTOOLLIB} $(XPLIB) ${XLIB} ${XMULIB} -lXpm -lm
+
+ EXTRA_LDOPTIONS = -L/usr/local/lib -Wl,-R/usr/local/lib
+ INCLUDES = -I/usr/local/include
+@@ -15,7 +16,7 @@
+ SRCS = radio.c remote.c analyzer.c sample.c misc.c config.c version_check.c LiteClue.c lcd_net.c
+ OBJS = radio.o remote.o analyzer.o sample.o misc.o config.o version_check.o LiteClue.o lcd_net.o
+
+-CDEBUGFLAGS = -O2 -g -Wall
++#CDEBUGFLAGS = -O2 -g -Wall
+
+ XCOMM CCOPTIONS= -DJUHA_DRIVER -DHAS_XPM
+ CCOPTIONS= -DHAS_XPM