From 1cca6590664dd0d083125c4c6fa54f728e968a77 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 2 Apr 2007 10:43:39 +0000 Subject: [PATCH] configure may not exist. found oud by steven@ --- infrastructure/mk/gnu.port.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/infrastructure/mk/gnu.port.mk b/infrastructure/mk/gnu.port.mk index 9b80ad2d60b..3a33c27cb48 100644 --- a/infrastructure/mk/gnu.port.mk +++ b/infrastructure/mk/gnu.port.mk @@ -1,6 +1,6 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: -# $OpenBSD: gnu.port.mk,v 1.32 2007/03/30 13:55:07 espie Exp $ +# $OpenBSD: gnu.port.mk,v 1.33 2007/04/02 10:43:39 espie Exp $ # Based on bsd.port.mk, originally by Jordan K. Hubbard. # This file is in the public domain. @@ -96,9 +96,11 @@ _MODGNU_loop += echo "Running autoupdate-${AUTOCONF_VERSION} in $$d"; _MODGNU_loop += ${_SYSTRACE_CMD} ${SETENV} ${AUTOCONF_ENV} ${AUTOUPDATE}; . endif . if ${CONFIGURE_STYLE:L:Mautoconf} -_MODGNU_loop += grep -iq 'Generated by.*autoconf.*${AUTOCONF_VERSION}' $$d/configure || { \ +_MODGNU_loop += if test -f $$d/configure; then \ + grep -iq 'Generated by.*autoconf.*${AUTOCONF_VERSION}' $$d/configure || { \ echo ">>> Can't find autoconf ${AUTOCONF_VERSION} signature in $$d/configure:"; \ - grep -i 'Generated by.*autoconf' $$d/configure; }; + grep -i 'Generated by.*autoconf' $$d/configure; }; \ + fi; _MODGNU_loop += echo "Running autoconf-${AUTOCONF_VERSION} in $$d"; _MODGNU_loop += ${_SYSTRACE_CMD} ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF}; . if ${CONFIGURE_STYLE:L:Mautoheader}