summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cvs/Makefile.bsd-wrapper14
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/usr.bin/cvs/Makefile.bsd-wrapper b/gnu/usr.bin/cvs/Makefile.bsd-wrapper
index daa50c7182f..7ed5bcbb047 100644
--- a/gnu/usr.bin/cvs/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/cvs/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.25 1997/06/23 22:20:24 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.26 1997/07/24 16:51:23 kstailey Exp $
.include <bsd.own.mk>
@@ -15,6 +15,12 @@ KRB=--with-krb4=/usr
KRB=--without-krb4
.endif
+.if defined (INSTALL_STRIP) && ${INSTALL_STRIP} == "-s"
+INST_PROG='/usr/bin/install -cs'
+.else
+INST_PROG='/usr/bin/install -c'
+.endif
+
all: config.status
${MAKE} ${GNUCFLAGS} LDFLAGS=${LDSTATIC}
@@ -22,10 +28,12 @@ all: config.status
config: .FORCE
-rm -f config.cache
- sh ${.CURDIR}/configure --prefix=/usr ${KRB}
+ INSTALL_PROGRAM=$(INST_PROG) sh ${.CURDIR}/configure \
+ --prefix=/usr ${KRB}
config.status:
- sh ${.CURDIR}/configure --prefix=/usr ${KRB}
+ INSTALL_PROGRAM=$(INST_PROG) sh ${.CURDIR}/configure \
+ --prefix=/usr ${KRB}
.ifdef NOMAN
maninstall: