summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-08-13 02:35:15 +0000
committerderaadt <deraadt@openbsd.org>1996-08-13 02:35:15 +0000
commit59ff98cb8770608f43c5bf47d7ca82e3256c7f9c (patch)
tree676fb2f0d15ba27188783f77cfdd24acdf602211
parentKludge to make DDB reverse symbol lookup work again. (diff)
downloadwireguard-openbsd-59ff98cb8770608f43c5bf47d7ca82e3256c7f9c.tar.xz
wireguard-openbsd-59ff98cb8770608f43c5bf47d7ca82e3256c7f9c.zip
only compile kerberos support if needed; pointed out by millert
-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 \