pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ezm3 Move the contents of do-build target to do-i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fce6a5f35dae
branches: trunk
changeset: 466234:fce6a5f35dae
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue Jan 13 22:02:20 2004 +0000
description:
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:
lang/ezm3/Makefile | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diffs (45 lines):
diff -r c60aed10cafd -r fce6a5f35dae lang/ezm3/Makefile
--- a/lang/ezm3/Makefile Tue Jan 13 21:58:51 2004 +0000
+++ b/lang/ezm3/Makefile Tue Jan 13 22:02:20 2004 +0000
@@ -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 @@
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 @@
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 @@
-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"
Home |
Main Index |
Thread Index |
Old Index