summaryrefslogtreecommitdiff
path: root/net/cvsup/Makefile
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1999-01-28 05:39:19 +0000
committerJohn Polstra <jdp@FreeBSD.org>1999-01-28 05:39:19 +0000
commit28eacf3dc2aeb4cadfcc6ecacd2426c4f3658626 (patch)
tree24dd3da0522a97cb28f4cafc37decb30b138170a /net/cvsup/Makefile
parentUpdate to version 1.41. (diff)
Instead of trying to auto-detect whether X11 is installed, require
the user to define NO_X11 if it is not. The auto-detection scheme caused problems for Satoshi's port building system.
Notes
Notes: svn path=/head/; revision=16396
Diffstat (limited to '')
-rw-r--r--net/cvsup/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/net/cvsup/Makefile b/net/cvsup/Makefile
index f9bdd0986aa7..a9e0f8b67558 100644
--- a/net/cvsup/Makefile
+++ b/net/cvsup/Makefile
@@ -3,7 +3,7 @@
# Date created: 7 August 1996
# Whom: asami
#
-# $Id: Makefile,v 1.29 1998/10/13 01:17:27 jseger Exp $
+# $Id: Makefile,v 1.30 1999/01/22 11:50:31 wosch Exp $
#
DISTNAME= cvsup-15.4.2
@@ -19,17 +19,17 @@ LIB_DEPENDS= m3.6:${PORTSDIR}/lang/modula-3-lib
MAN1= cvsup.1
MAN8= cvsupd.8
-# Support building on systems with or without X11 installed. The
-# modula-3-lib port only supports X11R6 in the standard location,
-# so we don't bother using the X11BASE macro. It's not defined yet
-# at this point in the Makefile anyway.
-.if !exists(/usr/X11R6/lib/libX11.a)
+# Support building on systems with or without X11 installed.
+.ifdef NO_X11
M3FLAGS+= -DNOGUI
+.else
+pre-fetch:
+ @echo -n "To build this port without X11 (and without the GUI),"
+ @echo " define \"NO_X11\"."
+
.endif
# Build options. Uncomment the desired ones.
-# To build the client without GUI support (automatic if X11R6 is not found):
-#M3FLAGS+= -DNOGUI
# To link the programs statically:
#M3FLAGS+= -DSTATIC
# To link just the Modula-3 libraries statically: