summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-02 08:17:10 +0000
committerjlam <jlam@pkgsrc.org>2001-07-02 08:17:10 +0000
commitf959eee4d26f3b3edf0e62c769f2e9f027d46d22 (patch)
treeff068be94d525fcacebdb8bb2a877a5904031321 /audio
parent9c64afdd9c5e975e72fa1a3be1a99d6ac371a40e (diff)
downloadpkgsrc-f959eee4d26f3b3edf0e62c769f2e9f027d46d22.tar.gz
Honor CFLAGS passed in from environment during build by not overriding
CDEBUGFLAGS in the Imakefile. Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmradio/Makefile9
-rw-r--r--audio/xmradio/distinfo3
-rw-r--r--audio/xmradio/patches/patch-aa13
3 files changed, 20 insertions, 5 deletions
diff --git a/audio/xmradio/Makefile b/audio/xmradio/Makefile
index 89a71f16b21..252d7436e36 100644
--- a/audio/xmradio/Makefile
+++ b/audio/xmradio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/02/25 04:17:37 hubertf Exp $
+# $NetBSD: Makefile,v 1.11 2001/07/02 08:17:10 jlam Exp $
DISTNAME= xmradio-1.0
CATEGORIES= audio
@@ -13,12 +13,13 @@ DEPENDS+= sox>=12.16:../sox
ONLY_FOR_PLATFORM= NetBSD-1.4[Y-Z]-* NetBSD-1.4Z[A-Z]-i386 \
NetBSD-1.5_ALPHA-i386 NetBSD-1.[5-9]*-*
-USE_MOTIF= YES
-USE_IMAKE= YES
-USE_XPM= YES
+USE_BUILDLINK_ONLY= YES
+USE_IMAKE= YES
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmradio
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmradio
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../x11/lesstif/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xmradio/distinfo b/audio/xmradio/distinfo
index e67168d658f..a8ee37d6080 100644
--- a/audio/xmradio/distinfo
+++ b/audio/xmradio/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 12:14:41 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/07/02 08:17:10 jlam Exp $
SHA1 (xmradio-1.0.tar.gz) = 54d2920a1fc2417cd280dbdef6bb7ad20b009cf5
Size (xmradio-1.0.tar.gz) = 64210 bytes
+SHA1 (patch-aa) = 1f1b713c8f9143b3afd86edfe23b0a9eb43872d2
SHA1 (patch-ab) = 4eb2cacae0b07640c54c2715bbb029c6ec349aac
diff --git a/audio/xmradio/patches/patch-aa b/audio/xmradio/patches/patch-aa
new file mode 100644
index 00000000000..f30c587912e
--- /dev/null
+++ b/audio/xmradio/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2001/07/02 08:17:11 jlam Exp $
+
+--- Imakefile.orig Wed Nov 1 03:34:18 2000
++++ Imakefile
+@@ -15,7 +15,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 -DLCD_NET
+ XCOMM CCOPTIONS= -DJUHA_DRIVER -DHAS_XPM