aboutsummaryrefslogtreecommitdiffstats
path: root/www/drupal6
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-10 17:02:05 +0800
committerpav <pav@FreeBSD.org>2004-05-10 17:02:05 +0800
commitec17019e89352ab91d9cf2a42b2f8e0a02a351f8 (patch)
treed0d39e61bbafa7052e8c48cd2a149ab4242b1cb9 /www/drupal6
parent39b3fbcf4f496547a4b6813f7e98a4617d681030 (diff)
downloadfreebsd-ports-gnome-ec17019e89352ab91d9cf2a42b2f8e0a02a351f8.tar.gz
freebsd-ports-gnome-ec17019e89352ab91d9cf2a42b2f8e0a02a351f8.tar.zst
freebsd-ports-gnome-ec17019e89352ab91d9cf2a42b2f8e0a02a351f8.zip
- Avoid hardcoding /usr/local reference
Reported by: kris
Diffstat (limited to 'www/drupal6')
-rw-r--r--www/drupal6/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/drupal6/Makefile b/www/drupal6/Makefile
index bae6d0e3bb3a..e7d4f1a43f31 100644
--- a/www/drupal6/Makefile
+++ b/www/drupal6/Makefile
@@ -15,7 +15,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= esn@x123.info
COMMENT= CMS that supports pgsql and mysql
-.if exists(/usr/local/lib/libpq.so.3)
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libpq.so.3)
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
.endif
@@ -65,4 +67,4 @@ do-install:
@${ECHO_MSG} " GoTo: http://<your_website>/drupal"
@${ECHO_MSG} ""
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>