diff options
Diffstat (limited to 'databases/php-adodb-ext/Makefile')
-rw-r--r-- | databases/php-adodb-ext/Makefile | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/databases/php-adodb-ext/Makefile b/databases/php-adodb-ext/Makefile index 97909371eadb..8b63ffdbfeaf 100644 --- a/databases/php-adodb-ext/Makefile +++ b/databases/php-adodb-ext/Makefile @@ -3,7 +3,7 @@ PORTNAME= adodb-ext PORTVERSION= 5.04 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases MASTER_SITES= http://phplens.com/lens/dl/ PKGNAMEPREFIX= php- @@ -14,27 +14,17 @@ COMMENT= ADOdb Extension WRKSRC= ${WRKDIR}/adodb-${PORTVERSION:S/.//} -USES= zip +USES= dos2unix zip USE_PHP= yes -USE_PHPIZE= yes -DEFAULT_PHP_VER=53 +USE_PHPEXT= yes +PHP_MODNAME= adodb -CONFIGURE_ARGS= --with-php-config=${PREFIX}/bin/php-config \ - --prefix=${PREFIX}/lib/php/${PHP_EXT_DIR} SUB_FILES= pkg-message -PLIST_SUB= PHP_EXT_DIR=${PHP_EXT_DIR} -USE_DOS2UNIX= yes -NO_STAGE= yes .include <bsd.port.pre.mk> -.if ${PHP_VER} == "5" +.if ${PHP_VER} == "5" || ${PHP_VER} == "54" || ${PHP_VER} == "55" EXTRA_PATCHES= ${PATCHDIR}/extra-patch-php54-adodb.c -.elif ${PHP_VER} != "52" -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-adodb.c .endif -post-install: - @${CAT} ${PKGMESSAGE} - .include <bsd.port.post.mk> |