ports/64415: make in ports stopped by ASCII GUI
Vlad Manilici
vman at k2.homeunix.net
Fri Mar 19 20:30:22 UTC 2004
The following reply was made to PR ports/64415; it has been noted by GNATS.
From: Vlad Manilici <vman at k2.homeunix.net>
To: freebsd-gnats-submit at FreeBSD.org
Cc: eikemeier at fillmore-labs.com
Subject: ports/64415: make in ports stopped by ASCII GUI
Date: Fri, 19 Mar 2004 21:29:30 +0100
Hi,
A fix idea would be to reverse the behaviour of the "BUILD"
environment variable. I named the inverse "INTERACTIVE_MENU".
For instance, the patch for zebra-0.94_1 would look like this:
/usr/ports/net/zebra/Makefile
--- /usr/ports/net/zebra/Makefile.orig Fri Mar 19 21:10:40 2004
+++ /usr/ports/net/zebra/Makefile Fri Mar 19 21:17:22 2004
@@ -27,7 +27,7 @@
MAN8= bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8
INFO= zebra
-.if !defined(BATCH)
+.if defined(INTERACTIVE_BUILD)
pre-configure:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
/usr/ports/net/zebra/scripts/configure
--- /usr/ports/net/zebra/scripts/configure.orig Fri Mar 19 21:11:58 2004
+++ /usr/ports/net/zebra/scripts/configure Fri Mar 19 21:17:50 2004
@@ -5,7 +5,7 @@
# configure - zebra compile time option configurator
# by Andreas Klemm <andreas at FreeBSD.org>
-if [ "$BATCH" != "yes" -a "$BATCH" != "YES" ]; then
+if [ "$INTERACTIVE_MENU" = "yes" -o "$INTERACTIVE_MENU" = "YES" ]; then
#
# configure - zebra compile time options
@@ -59,4 +59,4 @@
shift
done
-fi # if $BATCH
+fi # if $INTERACTIVE_MENU
Cheers,
Vlad
More information about the freebsd-ports-bugs
mailing list