diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 1999-01-08 17:22:06 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 1999-01-08 17:22:06 +0000 |
commit | 45e82821dc4e43093d4144b614266e7b6ad234ec (patch) | |
tree | 45e4a019a1b2137b75eda16c8e538cc405debca2 /www/mod_php3 | |
parent | Some cleanups: (diff) |
Don't link ${PREFIX}/share/doc/apache/* to ${PREFIX}/www/data/
if the file or symlink exists already.
Reported by: Peter Hawkins <thepish@freebsd.org> (a long time ago...)
PR: ports/9347
Submitted by: Sheldon Hearn <axl@iafrica.com>
Diffstat (limited to 'www/mod_php3')
-rw-r--r-- | www/mod_php3/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile index 687cdb5b49a1..a759f484702a 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.62 1998/12/26 00:08:09 dirk Exp $ +# $Id: Makefile,v 1.63 1999/01/03 12:26:47 dirk Exp $ # DISTNAME= apache_${VERSION_APACHE} @@ -113,7 +113,9 @@ post-install: find ${APACHEDOCDIR} -type d -exec chmod a+rx {} \; ; \ find ${APACHEDOCDIR} -type f -exec chmod a+r {} \; .for i in apache_pb.gif index.html manual - ${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i + if [ ! -e ${PREFIX}/www/data/$i ] ; then \ + ${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i; \ + fi .endfor .for i in CODING_STANDARDS EXTENSION_STATUS LICENSE ${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP3}/$i ${PHP3DOCDIR} |