Fix build of databases/phpmyadmin

Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk>
Reviewed by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
This commit is contained in:
Edwin Groothuis 2004-10-13 08:54:07 +00:00
parent eaa7b1f384
commit 5d4f957009
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119183
2 changed files with 20 additions and 2 deletions

View File

@ -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

View File

@ -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