aboutsummaryrefslogtreecommitdiff
path: root/net/cvsup
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2001-05-26 20:37:10 +0000
committerJohn Polstra <jdp@FreeBSD.org>2001-05-26 20:37:10 +0000
commit64970ea75743b81b93a5e6957e3cbfb44903c282 (patch)
tree70447e12821abd1c593a096303060a110974aee0 /net/cvsup
parent8c349d0c845847268663ef17a639f2ff8e33cc09 (diff)
downloadports-64970ea75743b81b93a5e6957e3cbfb44903c282.tar.gz
ports-64970ea75743b81b93a5e6957e3cbfb44903c282.zip
Notes
Diffstat (limited to 'net/cvsup')
-rw-r--r--net/cvsup/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/cvsup/Makefile b/net/cvsup/Makefile
index ed5b6a34c571..e54f6754af4e 100644
--- a/net/cvsup/Makefile
+++ b/net/cvsup/Makefile
@@ -14,14 +14,22 @@ MASTER_SITES?= ftp://ftp3.freebsd.org/pub/FreeBSD/development/CVSup/sources/ \
MAINTAINER= jdp@FreeBSD.org
+.ifdef PACKAGE_BUILDING
+STATIC= yes
+.endif
+
.ifdef WITHOUT_X11
M3FLAGS+= -DNOGUI
BUILD_DEPENDS= ${L1}libm3tcp${L2}:${PORTSDIR}/lang/pm3-net
+.ifndef STATIC
RUN_DEPENDS= ${L1}libm3tcp${L2}:${PORTSDIR}/lang/pm3-net
+.endif
.else
BUILD_DEPENDS= ${L1}libm3formsvbt${L2}:${PORTSDIR}/lang/pm3-forms
+.ifndef STATIC
RUN_DEPENDS= ${L1}libm3formsvbt${L2}:${PORTSDIR}/lang/pm3-forms
.endif
+.endif
MAKE_ARGS+= PREFIX=${PREFIX} M3FLAGS="${M3FLAGS}"
MAN1= cvpasswd.1 cvsup.1
@@ -30,8 +38,9 @@ MAN8= cvsupd.8
L1= ${PREFIX}/lib/m3/${TARGET}/
SOVERSION= 7
-# To link the programs statically:
-#M3FLAGS+= -DSTATIC
+.ifdef STATIC
+M3FLAGS+= -DSTATIC
+.endif
.include <bsd.port.pre.mk>