diff options
author | obache <obache> | 2007-12-05 13:36:02 +0000 |
---|---|---|
committer | obache <obache> | 2007-12-05 13:36:02 +0000 |
commit | 23f27dcba0cab9e861d837ba9754dd78c775f720 (patch) | |
tree | 9fcb12e5cce13e3e23562fd0a90f999c9d1bf4ea /graphics/mgl | |
parent | 5d237ee8a8fa9c47622f22e2ae71e05cf29c1839 (diff) | |
download | pkgsrc-23f27dcba0cab9e861d837ba9754dd78c775f720.tar.gz |
Switch to SUBST framework.
Diffstat (limited to 'graphics/mgl')
-rw-r--r-- | graphics/mgl/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/mgl/Makefile b/graphics/mgl/Makefile index a6c03f89123..a0e55d82c8f 100644 --- a/graphics/mgl/Makefile +++ b/graphics/mgl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2007/10/07 12:59:13 kano Exp $ +# $NetBSD: Makefile,v 1.28 2007/12/05 13:36:02 obache Exp $ # DISTNAME= mgl2-alpha-020 @@ -34,10 +34,10 @@ ONLY_FOR_PLATFORM= *-*-arm *-*-i386 *-*-mipsel *-*-sh3el .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 +SUBST_CLASSES+= prefix +SUBST_STAGE.prefix= pre-configure +SUBST_FILES.prefix= utils/mglcons.sh +SUBST_VARS.prefix= PREFIX post-configure: .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "sh3el" |