diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 1999-08-30 10:56:07 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 1999-08-30 10:56:07 +0000 |
commit | 6ac4aad38f82dd650bf32ac1e3a0aaf9587e7212 (patch) | |
tree | 81c032a556c45ea1d2945080744634e53b5cb35d /www/mod_php3 | |
parent | Mark this port broken, bison is barfing on at least monitor1.y . (diff) |
Make sure directory ${WRKDIRPREFIX}${CURDIR} exists before
touching files in that directory. Problem only occurs when
${WRKDIRPREFIX} is set.
Found by: bento.freebsd.org
Notes
Notes:
svn path=/head/; revision=21119
Diffstat (limited to 'www/mod_php3')
-rw-r--r-- | www/mod_php3/Makefile | 5 | ||||
-rw-r--r-- | www/mod_php3/scripts/configure.php | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile index 40a7801757f3..15eb8758ff6e 100644 --- a/www/mod_php3/Makefile +++ b/www/mod_php3/Makefile @@ -3,7 +3,7 @@ # Date created: So 21 Jun 1998 16:09:39 CEST # Whom: Stefan Herrmann <stefan@asterix.webaffairs.net> # -# $Id: Makefile,v 1.89 1999/08/26 09:24:16 dirk Exp $ +# $Id: Makefile,v 1.90 1999/08/26 21:18:12 dirk Exp $ # DISTNAME= apache_${VERSION_APACHE} @@ -88,7 +88,8 @@ CFLAGS+= -O6 -funroll-loops -fstrength-reduce -fomit-frame-pointer \ CONFIGURE_ENV= OPTIM='${OPTIM}' LIBS='-L${PREFIX}/lib' SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ - TOUCH="${TOUCH}" + TOUCH="${TOUCH}" \ + MKDIR="${MKDIR}" INSTALL_TARGET= install-quiet diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php index 362712401742..7464fe2a3de3 100644 --- a/www/mod_php3/scripts/configure.php +++ b/www/mod_php3/scripts/configure.php @@ -1,6 +1,7 @@ #!/bin/sh if [ "${BATCH}" ]; then + ${MKDIR} ${WRKDIRPREFIX}${CURDIR} ${TOUCH} ${WRKDIRPREFIX}${CURDIR}/Makefile.inc exit fi @@ -46,7 +47,7 @@ case $retval in ;; esac -mkdir -p ${WRKDIRPREFIX}${CURDIR} +${MKDIR} -p ${WRKDIRPREFIX}${CURDIR} exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc while [ "$1" ]; do |