From 2ba0df7b4c851ea8c956a03d3d96ddae50b85c2d Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 5 Dec 2007 13:36:02 +0000 Subject: Switch to SUBST framework. --- graphics/mgl/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'graphics/mgl') 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" -- cgit v1.2.3