From c71c420ec3ecfae0f4bf8554aee21befbbaa4cab Mon Sep 17 00:00:00 2001 From: kstailey Date: Fri, 5 Sep 1997 07:18:36 +0000 Subject: use GLOBAL_AUTOCONF_CACHE --- gnu/usr.bin/groff/Makefile.bsd-wrapper | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'gnu/usr.bin/groff') 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 +.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}" \ -- cgit v1.2.3