diff options
author | dirk <dirk@FreeBSD.org> | 1999-01-09 01:22:06 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 1999-01-09 01:22:06 +0800 |
commit | 9cb7c78f72bf6627e5155d71bd8adb73fe519fbb (patch) | |
tree | c64e62e152d9ba9bd2e1d122da71a61eb2cc9af1 /www/mod_php5 | |
parent | 5bd30dca3085da3ca8b6e99bd6fc3fc3d0efbfb9 (diff) | |
download | freebsd-ports-gnome-9cb7c78f72bf6627e5155d71bd8adb73fe519fbb.tar.gz freebsd-ports-gnome-9cb7c78f72bf6627e5155d71bd8adb73fe519fbb.tar.zst freebsd-ports-gnome-9cb7c78f72bf6627e5155d71bd8adb73fe519fbb.zip |
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_php5')
-rw-r--r-- | www/mod_php5/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index 687cdb5b49a1..a759f484702a 100644 --- a/www/mod_php5/Makefile +++ b/www/mod_php5/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} |