diff options
author | beech <beech@FreeBSD.org> | 2009-01-03 14:22:43 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2009-01-03 14:22:43 +0800 |
commit | 6720484396a7994f0eb71e8719c24239c761bc9d (patch) | |
tree | ab6f45fdfa574dad572995b5d643b2a88c240695 /www/cherokee | |
parent | 046e7f936a3ceadbcb5a7a79e0fb3da145dc1eb8 (diff) | |
download | freebsd-ports-gnome-6720484396a7994f0eb71e8719c24239c761bc9d.tar.gz freebsd-ports-gnome-6720484396a7994f0eb71e8719c24239c761bc9d.tar.zst freebsd-ports-gnome-6720484396a7994f0eb71e8719c24239c761bc9d.zip |
- Add options for MySQL and LDAP
- Bump portrevision
Suggested by: Marek Kubica <marek@xivilization.net>
Diffstat (limited to 'www/cherokee')
-rw-r--r-- | www/cherokee/Makefile | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/www/cherokee/Makefile b/www/cherokee/Makefile index b619e69b2c6d..d288b59c415d 100644 --- a/www/cherokee/Makefile +++ b/www/cherokee/Makefile @@ -7,6 +7,7 @@ PORTNAME= cherokee PORTVERSION= 0.11.6 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.cherokee-project.com/download/0.11/${PORTVERSION}/ \ LOCAL/beech @@ -22,11 +23,9 @@ USE_GNOME= gnomehack gnometarget pkgconfig USE_LDCONFIG= yes USE_RC_SUBR= cherokee.sh USE_BISON= build -USE_MYSQL= yes USE_PYTHON= 2.4+ -USE_OPENLDAP= yes GNU_CONFIGURE= yes -CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}Marek Kubica <marek@xivilization.net> LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-wwwroot=${PREFIX}/www/cherokee \ @@ -41,7 +40,9 @@ PORTDOCS= * OPTIONS= OPENSSL "TLS/SSL support via openssl" on \ GNUTLS "TLS/SSL support via gnutls" off \ - IPV6 "IPv6 support" on + IPV6 "IPv6 support" on \ + MYSQL "MySQL Database" off \ + LDAP "LDAP Support" off .include <bsd.port.pre.mk> @@ -58,6 +59,20 @@ CONFIGURE_ARGS+=--disable-tls CONFIGURE_ARGS+=--disable-ipv6 .endif +.ifdef WITH_MYSQL +USE_MYSQL= yes +CONFIGURE_ARGS+=--with-mysql=yes +.else +CONFIGURE_ARGS+=--with-mysql=no +.endif + +.ifdef WITH_LDAP +USE_OPENLDAP= yes +CONFIGURE_ARGS+=--with-ldap=yes +.else +CONFIGURE_ARGS+=--with-ldap=no +.endif + post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|@mkdir_p@|${MKDIR} --|g' |