aboutsummaryrefslogtreecommitdiffstats
path: root/databases/phpmyadmin211
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-01-18 14:56:59 +0800
committerrafan <rafan@FreeBSD.org>2007-01-18 14:56:59 +0800
commit7284504365f0ddbf513d36195a853d2675fd6979 (patch)
tree2a544bbb48c7641e635844de5d98611d591c53ae /databases/phpmyadmin211
parentd490d142c28792d7f2da56b8fce0e19b12eea631 (diff)
downloadfreebsd-ports-gnome-7284504365f0ddbf513d36195a853d2675fd6979.tar.gz
freebsd-ports-gnome-7284504365f0ddbf513d36195a853d2675fd6979.tar.zst
freebsd-ports-gnome-7284504365f0ddbf513d36195a853d2675fd6979.zip
- Add an option so users can build this package without any php dependencies.
PR: ports/108034 Submitted by: Henrik Brix Andersen <henrik at brixandersen.dk> Approved by: Matthew Seaman <m.seaman at infracaninophile.co.uk> (maintainer)
Diffstat (limited to 'databases/phpmyadmin211')
-rw-r--r--databases/phpmyadmin211/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/phpmyadmin211/Makefile b/databases/phpmyadmin211/Makefile
index ef0030db7f0a..0a89f02acb92 100644
--- a/databases/phpmyadmin211/Makefile
+++ b/databases/phpmyadmin211/Makefile
@@ -17,7 +17,9 @@ COMMENT= A set of PHP-scripts to manage MySQL over the web
USE_BZIP2= yes
NO_BUILD= yes
+.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP= mysql pcre session
+.endif
SUB_LIST+= "MYADMDIR=${MYADMDIR}" \
"PKGNAME=${PKGNAME}"
@@ -64,6 +66,7 @@ OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
.include "${OPTIONSFILE}"
.endif
+.if !defined(WITHOUT_PHP_DEPENDS)
# Options that default to on:
.for opt in BZ2 GD OPENSSL PDF ZLIB MCRYPT MBSTRING
. if !defined(WITHOUT_${opt}) || defined(WITH_${opt})
@@ -77,6 +80,7 @@ USE_PHP+= ${opt:L}
USE_PHP+= ${opt:L}
. endif
.endfor
+.endif
# MYADMUSR is only used WITH_SUPHP
MYADMDIR?= www/phpMyAdmin