diff options
author | jmmv <jmmv> | 2003-06-07 15:04:21 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-06-07 15:04:21 +0000 |
commit | 0b7ed8fa91ce06c995375a61ca68ad8815bee385 (patch) | |
tree | eb020fa4b2218fa35db48a60ad323d00c7f90e6f | |
parent | 5f665e6dd2408f5e867a25080f5d8dd9f4b2053c (diff) | |
download | pkgsrc-0b7ed8fa91ce06c995375a61ca68ad8815bee385.tar.gz |
Avoid hardcoding /usr/pkg in patch files.
-rw-r--r-- | graphics/mgl/Makefile | 7 | ||||
-rw-r--r-- | graphics/mgl/distinfo | 4 | ||||
-rw-r--r-- | graphics/mgl/patches/patch-ae | 4 |
3 files changed, 10 insertions, 5 deletions
diff --git a/graphics/mgl/Makefile b/graphics/mgl/Makefile index 0d37bfe2e94..48cdd703a19 100644 --- a/graphics/mgl/Makefile +++ b/graphics/mgl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2002/07/19 08:52:31 toshii Exp $ +# $NetBSD: Makefile,v 1.11 2003/06/07 15:04:21 jmmv Exp $ # DISTNAME= mgl2-alpha-020 @@ -37,6 +37,11 @@ ONLY_FOR_PLATFORM= *-*-arm *-*-i386 *-*-mipsel .include "../../mk/bsd.prefs.mk" +pre-configure: + ${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/utils/mglcons.sh \ + > ${WRKSRC}/utils/mglcons.sh.new + ${MV} ${WRKSRC}/utils/mglcons.sh.new ${WRKSRC}/utils/mglcons.sh + post-configure: .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mipsel" @${MV} -f ${WRKSRC}/conf/config.mk-hpcmips ${WRKSRC}/conf/config.mk.tmp diff --git a/graphics/mgl/distinfo b/graphics/mgl/distinfo index 5853e1e0562..000d21125ae 100644 --- a/graphics/mgl/distinfo +++ b/graphics/mgl/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 09:54:19 wiz Exp $ +$NetBSD: distinfo,v 1.3 2003/06/07 15:04:21 jmmv Exp $ SHA1 (mgl2-alpha-020.tar.gz) = aa6be2be28749ba9952afbb359ca0525cad3717f Size (mgl2-alpha-020.tar.gz) = 341420 bytes @@ -6,7 +6,7 @@ SHA1 (patch-aa) = 65104bb4030f3bd393f08d6b81382dc87913f5c7 SHA1 (patch-ab) = 57bb2b1879c5a8ee9f0022ccd74fc8ec2daeef8f SHA1 (patch-ac) = b928439dcf815ffab8ec9bb15782ff34ad18006f SHA1 (patch-ad) = 8d333d48b897758754d781339a85b78edfd44541 -SHA1 (patch-ae) = 24af530113c82652479f6a34ec0c7773201e6994 +SHA1 (patch-ae) = e631dbe4341056cbc67f0a0054952746a087c5c1 SHA1 (patch-af) = 9265534267b9aa67a9e5db520de0bfc12a601671 SHA1 (patch-ag) = 4bfe05671d580b2a991e6a6990587d5669a24f5f SHA1 (patch-ah) = 1706347380fe3d00295c4f5dc590c22c3f9edf75 diff --git a/graphics/mgl/patches/patch-ae b/graphics/mgl/patches/patch-ae index 928dc49c520..0e875e0ed74 100644 --- a/graphics/mgl/patches/patch-ae +++ b/graphics/mgl/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.2 2001/03/20 13:54:31 wiz Exp $ +$NetBSD: patch-ae,v 1.3 2003/06/07 15:04:21 jmmv Exp $ --- utils/mglcons.sh.orig Sun Dec 10 02:49:40 2000 +++ utils/mglcons.sh Thu Mar 8 16:27:25 2001 @@ -7,7 +7,7 @@ $NetBSD: patch-ae,v 1.2 2001/03/20 13:54:31 wiz Exp $ # export PLATFORM=MC-R300 -/usr/pkg/sbin/mglsvrcons $1 < $TTY > $TTY & -+/usr/pkg/sbin/mglsvrcons $* < $TTY > $TTY & ++@PREFIX@/sbin/mglsvrcons $* < $TTY > $TTY & sleep 1 mgterm -i reset |