1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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)
This commit is contained in:
Sam Lawrance 2005-12-17 06:17:29 +00:00
parent ad53d780e4
commit 34186bd4be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151362

View File

@ -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