diff options
author | Matthew Seaman <matthew@FreeBSD.org> | 2012-02-15 16:42:56 +0000 |
---|---|---|
committer | Matthew Seaman <matthew@FreeBSD.org> | 2012-02-15 16:42:56 +0000 |
commit | 456a51f8c06e87c1951813a3d4ef366ed8b3c327 (patch) | |
tree | 0aaab176046c325e02b5dd32b506fa0da33aa988 /databases/phpmyadmin | |
parent | 32853a3ce53f15767bdd0ea98dea566b60f11603 (diff) | |
download | ports-456a51f8c06e87c1951813a3d4ef366ed8b3c327.tar.gz ports-456a51f8c06e87c1951813a3d4ef366ed8b3c327.zip |
Notes
Diffstat (limited to 'databases/phpmyadmin')
-rw-r--r-- | databases/phpmyadmin/Makefile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile index 29161149fa67..5b66366cf262 100644 --- a/databases/phpmyadmin/Makefile +++ b/databases/phpmyadmin/Makefile @@ -7,6 +7,7 @@ PORTNAME= phpMyAdmin DISTVERSION= 3.4.10 +PORTREVISION= 1 CATEGORIES= databases www MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${DISTVERSION} DISTNAME= ${PORTNAME}-${DISTVERSION}-all-languages @@ -31,7 +32,7 @@ OPTIONS= SUPHP "suPHP support" off \ BZ2 "bzip2 library support" on \ GD "GD library support (requires X11)" on \ MYSQL "MySQL support via mysql client" off \ - MYSQLI "Improved MySQL client support" off \ + MYSQLI "Improved MySQL client support" on \ OPENSSL "OpenSSL support" on \ PDF "PDFlib support" on \ ZLIB "ZLIB support" on \ @@ -41,6 +42,10 @@ OPTIONS= SUPHP "suPHP support" off \ .include <bsd.port.options.mk> +.if !defined(WITH_MYSQL) && !defined(WITH_MYSQLI) +BROKEN= ${PKGNAME} needs at least one of WITH_MYSQL or WITH_MYSQLI in order to work +.endif + .if defined(WITH_SUPHP) && !defined(WITHOUT_SUPHP) PKGNAMESUFFIX= -suphp @@ -137,15 +142,4 @@ post-install: .endif ${CAT} ${PKGMESSAGE} - -.include <bsd.port.pre.mk> - -# phpMyAdmin can use the mysql native drivers which are available by -# default when using the lang/php5 port. If you're using lang/php52 -# then you will need either WITH_MYSQL or WITH_MYSQLI enabled. - -.if ${PHP_VER} == "52" && !defined(WITH_MYSQL) && !defined(WITH_MYSQLI) -BROKEN= ${PKGNAME} needs one of WITH_MYSQL or WITH_MYSQLI in order to work with php-5.2.x -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |