summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-13 02:35:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-13 02:35:16 +0000
commitf942c12215d148ceee04866e7414d953c44e5e9c (patch)
tree07db9c34fd9ddae25a9500a7d6186d366f76ba3e /gnu/usr.bin/cvs/Makefile.bsd-wrapper
parent6abab69d1979a465edfbe38d7068261d441373cf (diff)
only compile kerberos support if needed; pointed out by millert
Diffstat (limited to 'gnu/usr.bin/cvs/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/cvs/Makefile.bsd-wrapper12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/usr.bin/cvs/Makefile.bsd-wrapper b/gnu/usr.bin/cvs/Makefile.bsd-wrapper
index 0ce70275fd3..f7a102b93c7 100644
--- a/gnu/usr.bin/cvs/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/cvs/Makefile.bsd-wrapper
@@ -1,10 +1,16 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.17 1996/05/30 23:10:33 niklas Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.18 1996/08/13 02:35:15 deraadt Exp $
+
+.include <bsd.own.mk>
MAN= man/cvs.1 man/cvs.5 man/cvsbug.8
GNUCFLAGS= CFLAGS="${CFLAGS} -DSERVER_FLOWCONTROL"
CLEANFILES= man/cvs.cat1 man/cvs.cat5 man/cvsbug.cat8 lib/getdate.c \
macintosh/Makefile os2/Makefile
+.if defined(KERBEROS)
+KRB=--with-krb4=/usr
+.fi
+
all: config.status
${MAKE} ${GNUCFLAGS} LDFLAGS=${LDSTATIC}
@@ -12,10 +18,10 @@ all: config.status
config: .FORCE
-rm -f config.cache
- sh ${.CURDIR}/configure --prefix=/usr --with-krb4=/usr
+ sh ${.CURDIR}/configure --prefix=/usr ${KRB}
config.status:
- sh ${.CURDIR}/configure --prefix=/usr --with-krb4=/usr
+ sh ${.CURDIR}/configure --prefix=/usr ${KRB}
install: maninstall
${MAKE} ${GNUCFLAGS} prefix=${DESTDIR}/usr \