diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-04-17 00:18:05 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-04-17 00:18:05 +0000 |
commit | 877b8a533b44bb6324ebbaf65cd80a60d1572003 (patch) | |
tree | e1a018208ceade04ca56a70c5184978cac51853e /databases/gtksql | |
parent | Replace AWOL maintainer with an active one (Assar Westerlund <assar@stacken.k... (diff) |
Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined
options.
No comment by: ports
Notes
Notes:
svn path=/head/; revision=27679
Diffstat (limited to 'databases/gtksql')
-rw-r--r-- | databases/gtksql/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/databases/gtksql/Makefile b/databases/gtksql/Makefile index 7602a28e2acc..be3ed04a8942 100644 --- a/databases/gtksql/Makefile +++ b/databases/gtksql/Makefile @@ -14,34 +14,34 @@ MAINTAINER= domi@saargate.de LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 -.if defined(PACKAGE_BUILDING) && !defined(USE_MYSQL) && !defined(USE_PGSQL) -USE_MYSQL= yes +.if defined(PACKAGE_BUILDING) && !defined(WITH_MYSQL) && !defined(WITH_PGSQL) +WITH_MYSQL= yes .endif -.if defined(USE_MYSQL) +.if defined(WITH_MYSQL) LIB_DEPENDS += mysqlclient.6:${PORTSDIR}/databases/mysql322-client .endif -.if defined(USE_PGSQL) +.if defined(WITH_PGSQL) LIB_DEPENDS += pq.2:${PORTSDIR}/databases/postgresql .endif USE_X_PREFIX= yes pre-patch: -.if !defined(USE_MYSQL) && !defined(USE_PGSQL) +.if !defined(WITH_MYSQL) && !defined(WITH_PGSQL) @ ${ECHO} "You must specify which database to use, possible are:" @ ${ECHO} - @ ${ECHO} "make USE_MYSQL=yes (for MySQL support)" - @ ${ECHO} "make USE_PGSQL=yes (for PostgreSQL support)" - @ ${ECHO} "make USE_MYSQL=yes USE_PGSQL=yes (for both MySQL and PostgreSQL support)" + @ ${ECHO} "make WITH_MYSQL=yes (for MySQL support)" + @ ${ECHO} "make WITH_PGSQL=yes (for PostgreSQL support)" + @ ${ECHO} "make WITH_MYSQL=yes WITH_PGSQL=yes (for both MySQL and PostgreSQL support)" @ ${FALSE} .endif do-configure: -.if defined(USE_MYSQL) +.if defined(WITH_MYSQL) @ ${PERL} -i -pe "s/^#MYSQL/MYSQL/g" ${WRKDIR}/${DISTNAME}/Makefile .endif -.if defined(USE_PGSQL) +.if defined(WITH_PGSQL) @ ${PERL} -i -pe "s/^#PGSQL/PGSQL/g" ${WRKDIR}/${DISTNAME}/Makefile .endif |