summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-24 16:51:24 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-24 16:51:24 +0000
commit408827f4d787d011ab811cfd58c5e5d08f849396 (patch)
tree58d9d3fcc06b99d47b1d62005f83847fb64b9bc0 /gnu
parent87126afafdf5a85a141fd683006666504dffcb19 (diff)
respect INSTALL_STRIP=-s'' pr 188
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: