aboutsummaryrefslogtreecommitdiffstats
path: root/net/cvsup
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-12-17 14:17:29 +0800
committerlawrance <lawrance@FreeBSD.org>2005-12-17 14:17:29 +0800
commitc2a56eaae96204db45ad021eab3866cefccd4553 (patch)
tree68bee784cc8d926be8a8945895bdde2b3f8762b3 /net/cvsup
parentc403874a508cd92a9d3144410dc7e2b28b3d0d88 (diff)
downloadfreebsd-ports-gnome-c2a56eaae96204db45ad021eab3866cefccd4553.tar.gz
freebsd-ports-gnome-c2a56eaae96204db45ad021eab3866cefccd4553.tar.zst
freebsd-ports-gnome-c2a56eaae96204db45ad021eab3866cefccd4553.zip
Convert the port knob STATIC to WITH_STATIC. STATIC still works,
but prints a warning message about switching to WITH_STATIC. PR: ports/67832 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> Approved by: jdp (maintainer)
Diffstat (limited to 'net/cvsup')
-rw-r--r--net/cvsup/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/cvsup/Makefile b/net/cvsup/Makefile
index 487bcd6a9c4e..70c5eaf3abb3 100644
--- a/net/cvsup/Makefile
+++ b/net/cvsup/Makefile
@@ -55,7 +55,16 @@ MAKE_ARGS+= PREFIX=${PREFIX} M3FLAGS="${M3FLAGS}"
MAN1= cvpasswd.1 cvsup.1
MAN8= cvsupd.8
+pre-everything::
.ifdef STATIC
+ @${ECHO_MSG} "*****************************************************"
+ @${ECHO_MSG} "* In future, please define WITH_STATIC instead of *"
+ @${ECHO_MSG} "* STATIC. *"
+ @${ECHO_MSG} "*****************************************************"
+ @${ECHO_MSG} ""
+.endif
+
+.ifdef STATIC || WITH_STATIC
M3FLAGS+= -DSTATIC
.endif