From ec17019e89352ab91d9cf2a42b2f8e0a02a351f8 Mon Sep 17 00:00:00 2001 From: pav Date: Mon, 10 May 2004 09:02:05 +0000 Subject: - Avoid hardcoding /usr/local reference Reported by: kris --- www/drupal/Makefile | 6 ++++-- www/drupal4/Makefile | 6 ++++-- www/drupal5/Makefile | 6 ++++-- www/drupal6/Makefile | 6 ++++-- www/drupal7/Makefile | 6 ++++-- 5 files changed, 20 insertions(+), 10 deletions(-) diff --git a/www/drupal/Makefile b/www/drupal/Makefile index bae6d0e3bb3a..e7d4f1a43f31 100644 --- a/www/drupal/Makefile +++ b/www/drupal/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 + +.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:///drupal" @${ECHO_MSG} "" -.include +.include diff --git a/www/drupal4/Makefile b/www/drupal4/Makefile index bae6d0e3bb3a..e7d4f1a43f31 100644 --- a/www/drupal4/Makefile +++ b/www/drupal4/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 + +.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:///drupal" @${ECHO_MSG} "" -.include +.include diff --git a/www/drupal5/Makefile b/www/drupal5/Makefile index bae6d0e3bb3a..e7d4f1a43f31 100644 --- a/www/drupal5/Makefile +++ b/www/drupal5/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 + +.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:///drupal" @${ECHO_MSG} "" -.include +.include 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 + +.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:///drupal" @${ECHO_MSG} "" -.include +.include diff --git a/www/drupal7/Makefile b/www/drupal7/Makefile index bae6d0e3bb3a..e7d4f1a43f31 100644 --- a/www/drupal7/Makefile +++ b/www/drupal7/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 + +.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:///drupal" @${ECHO_MSG} "" -.include +.include -- cgit