summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-09-05 07:18:36 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-09-05 07:18:36 +0000
commitc71c420ec3ecfae0f4bf8554aee21befbbaa4cab (patch)
tree633f997423690a7c0120900ad7d739caacebd8f2 /gnu/usr.bin/groff
parent6467e08f756ae648f06f16c3f9625258bba4e5ef (diff)
use GLOBAL_AUTOCONF_CACHE
Diffstat (limited to 'gnu/usr.bin/groff')
-rw-r--r--gnu/usr.bin/groff/Makefile.bsd-wrapper14
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/usr.bin/groff/Makefile.bsd-wrapper b/gnu/usr.bin/groff/Makefile.bsd-wrapper
index 5d72481a6ce..d52d59ef71b 100644
--- a/gnu/usr.bin/groff/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/groff/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.9 1997/07/29 00:48:54 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.10 1997/09/05 07:18:35 kstailey Exp $
#
# groff config
@@ -50,16 +50,24 @@ all: config.status gnu_build
.include <bsd.own.mk>
+.ifdef GLOBAL_AUTOCONF_CACHE
+CF= --cache-file=${GLOBAL_AUTOCONF_CACHE}
+.else
+CF=
+.endif
+
config: .FORCE
+.ifndef GLOBAL_AUTOCONF_CACHE
-rm -f config.cache
+.endif
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
/bin/sh ${.CURDIR}/configure --prefix=${PREFIX} \
- --mandir=${DATASUBDIR}/man
+ --mandir=${DATASUBDIR}/man ${CF}
config.status:
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
/bin/sh ${.CURDIR}/configure --prefix=${PREFIX} \
- --mandir=${DATASUBDIR}/man
+ --mandir=${DATASUBDIR}/man ${CF}
gnu_build:
${MAKE} ${GNUCFLAGS} ${GNUCXXFLAGS} LDFLAGS="-s ${LDSTATIC}" \