summaryrefslogtreecommitdiff
path: root/lang/ezm3
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-01-13 22:02:20 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-01-13 22:02:20 +0000
commit89cdf18a301f36398ff76759a578791a2ba82ba8 (patch)
treecfdb21afc08f1d3b9ff3ea7bd5caf28fdaa19c58 /lang/ezm3
parent325906f10387756ed62653ffabdacfcf9bb4e329 (diff)
downloadpkgsrc-89cdf18a301f36398ff76759a578791a2ba82ba8.tar.gz
Move the contents of do-build target to do-install, and use NO_BUILD=yes,
so we can build it without root permissions, suggested by Julio Merino in private email.
Diffstat (limited to 'lang/ezm3')
-rw-r--r--lang/ezm3/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/lang/ezm3/Makefile b/lang/ezm3/Makefile
index e64037c9d30..bd4a6b8bdad 100644
--- a/lang/ezm3/Makefile
+++ b/lang/ezm3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/01/11 20:30:39 xtraeme Exp $
+# $NetBSD: Makefile,v 1.6 2004/01/13 22:02:20 xtraeme Exp $
DISTNAME= ezm3-1.1
CATEGORIES= lang
@@ -11,11 +11,10 @@ COMMENT= Easier, more portable Modula-3 distribution for building CVSup
DIST_SUBDIR= ezm3
USE_GMAKE= yes
-
+NO_BUILD= yes
INSTALL_TARGET= all
MAKE_ARGS+= M3OPTIONS="-DBUILD_ALL -DSHIP_ALL"
PLIST_SUBST+= TARGET=${TARGET} TARGETDIR=${TARGETDIR}
-PLIST_SUBST+= WORDSIZE=${WORDSIZE}
# XXX CFLAGS has to be empty, because if it's not, the build
# XXX process will fail.
@@ -36,8 +35,6 @@ TARGET= NetBSDi386
TARGETDIR= netbsd-1
.endif
-PROGS= bin/m3build bin/m3bundle bin/m3ship
-
do-configure:
cd ${WRKSRC}/m3config/src && \
${MV} -f ${TARGET} ${TARGET}.bak && \
@@ -45,12 +42,7 @@ do-configure:
-e "/^X11ROOT = /s|\".*\"|\"${X11BASE}/lib\"|" \
${TARGET}.bak > ${TARGET}
-do-build:
+pre-build:
${RM} -rf ${WRKSRC}/${TARGET}
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
- ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
-
-do-install:
- for i in ${PROGS}; do strip ${EZM3ROOT}/$$i; done
.include "../../mk/bsd.pkg.mk"