aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-10-13 08:54:07 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-10-13 08:54:07 +0000
commit5d4f9570099fbf8b8c3b91b19675f7b68a679e41 (patch)
tree2dd2f8801a1d5fac1d2e611b36154abc6ddb7cf9 /databases
parenteaa7b1f384bc0f8a147cecd8187b199bcb19aa3b (diff)
downloadports-5d4f9570099fbf8b8c3b91b19675f7b68a679e41.tar.gz
ports-5d4f9570099fbf8b8c3b91b19675f7b68a679e41.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/phpmyadmin/Makefile11
-rw-r--r--databases/phpmyadmin211/Makefile11
2 files changed, 20 insertions, 2 deletions
diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile
index d1966e949b4f..36366b347cee 100644
--- a/databases/phpmyadmin/Makefile
+++ b/databases/phpmyadmin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= phpMyAdmin
PORTVERSION= 2.6.0
+PORTREVISION= 1
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= phpmyadmin
@@ -62,12 +63,20 @@ OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
.include "${OPTIONSFILE}"
.endif
-.for opt in BZ2 GD MYSQLI OPENSSL PDF ZLIB
+# Options that default to on:
+.for opt in BZ2 GD OPENSSL PDF ZLIB
. if !defined(WITHOUT_${opt}) || defined(WITH_${opt})
USE_PHP+= ${opt:L}
. endif
.endfor
+# Options that default to off:
+.for opt in MYSQLI
+. if defined(WITH_${opt}) && !defined(WITHOUT_${opt})
+USE_PHP+= ${opt:L}
+. endif
+.endfor
+
MSG_SKEL= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
diff --git a/databases/phpmyadmin211/Makefile b/databases/phpmyadmin211/Makefile
index d1966e949b4f..36366b347cee 100644
--- a/databases/phpmyadmin211/Makefile
+++ b/databases/phpmyadmin211/Makefile
@@ -7,6 +7,7 @@
PORTNAME= phpMyAdmin
PORTVERSION= 2.6.0
+PORTREVISION= 1
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= phpmyadmin
@@ -62,12 +63,20 @@ OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
.include "${OPTIONSFILE}"
.endif
-.for opt in BZ2 GD MYSQLI OPENSSL PDF ZLIB
+# Options that default to on:
+.for opt in BZ2 GD OPENSSL PDF ZLIB
. if !defined(WITHOUT_${opt}) || defined(WITH_${opt})
USE_PHP+= ${opt:L}
. endif
.endfor
+# Options that default to off:
+.for opt in MYSQLI
+. if defined(WITH_${opt}) && !defined(WITHOUT_${opt})
+USE_PHP+= ${opt:L}
+. endif
+.endfor
+
MSG_SKEL= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message