diff options
author | wiz <wiz@pkgsrc.org> | 2000-09-09 17:33:13 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-09-09 17:33:13 +0000 |
commit | 0ddaa0acb68b6d69a12976c757df76da6505417f (patch) | |
tree | db402362d5c521577dbd75800f0d5b18353027cc /audio/xmcd/Makefile | |
parent | c2863b1d4e9842f6de2d4101810cbeceb24fa7b8 (diff) | |
download | pkgsrc-0ddaa0acb68b6d69a12976c757df76da6505417f.tar.gz |
Also patch the start and config skripts to use ${MACHINE_ARCH} instead
of uname -m (instead of only install skript only).
Addresses pkg/10017.
Diffstat (limited to 'audio/xmcd/Makefile')
-rw-r--r-- | audio/xmcd/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile index 25392b9b69b..7abead238f7 100644 --- a/audio/xmcd/Makefile +++ b/audio/xmcd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2000/03/16 15:30:02 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2000/09/09 17:33:13 wiz Exp $ # DISTNAME= xmcd-2.6 @@ -13,7 +13,14 @@ DEPENDS+= ncurses>=4.2:../../devel/ncurses USE_MOTIF= yes USE_IMAKE= yes IS_INTERACTIVE= yes # asks a lot of questions -MAKE_ENV+= MACHINE_ARCH="${MACHINE_ARCH}" SHELL=/bin/sh +MAKE_ENV+= SHELL=/bin/sh + +pre-install: + cd ${WRKSRC} && \ + for f in libdi_d/config.sh misc_d/start.sh install.sh; do \ + ${SED} -e "s/@MACHINE_ARCH@/${MACHINE_ARCH}/" $$f > $$f.new; \ + ${MV} -f $$f.new $$f; \ + done post-install: .for FILE in cda cddbcmd wm2xmcd xmcd |