diff options
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" |