summaryrefslogtreecommitdiff
path: root/audio/xmmix/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-08 12:30:57 +0000
committerjlam <jlam@pkgsrc.org>2002-10-08 12:30:57 +0000
commite50e63a7e7eb9375458aeb5356ac260390202f46 (patch)
treedc8b0f7ccd2cba0b8bc9699c1a7703a5d8e60d0a /audio/xmmix/Makefile
parentfb78c60ab1d1560df3f892534f756d968d8959aa (diff)
downloadpkgsrc-e50e63a7e7eb9375458aeb5356ac260390202f46.tar.gz
Use buildlink2 and make this work with audio/oss installed.
Diffstat (limited to 'audio/xmmix/Makefile')
-rw-r--r--audio/xmmix/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/audio/xmmix/Makefile b/audio/xmmix/Makefile
index 5de1f46378c..f740e08a5ef 100644
--- a/audio/xmmix/Makefile
+++ b/audio/xmmix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/09/09 03:08:49 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2002/10/08 12:30:57 jlam Exp $
# FreeBSD ID: Makefile,v 1.5 1997/09/08 13:37:47 tg Exp
#
@@ -10,14 +10,17 @@ MAINTAINER= augustss@cs.chalmers.se
HOMEPAGE= http://sunsite.unc.edu/~cddb/xmmix/index.html
COMMENT= X interface to the audio mixer device
+USE_BUILDLINK2= yes
USE_IMAKE= yes
-post-patch:
- for file in ${WRKSRC}/XMmix.ad ${WRKSRC}/resource.h; do \
- ${MV} -f $$file $$file.orig; \
- ${SED} -e "s|/usr/lib/X11/xmmix.hlp|${PREFIX}/lib/X11/xmmix.hlp|g" \
- $$file.orig > $$file; \
+pre-configure:
+ cd ${WRKSRC}; for file in XMmix.ad resource.h; do \
+ ${SED} -e "s|/usr/lib/X11/|${PREFIX}/lib/X11/|g" \
+ $$file > $$file.fixed; \
+ ${MV} -f $$file.fixed $$file; \
done
-.include "../../mk/motif.buildlink.mk"
+.include "../../mk/motif.buildlink2.mk"
+.include "../../mk/ossaudio.buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"