diff options
Diffstat (limited to 'graphics/mgl/Makefile')
-rw-r--r-- | graphics/mgl/Makefile | 7 |
1 files changed, 6 insertions, 1 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 |