diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2009-01-03 14:22:43 +0800 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2009-01-03 14:22:43 +0800 |
commit | 4e01e22a78614f548ec72c66dcb3f21883936142 (patch) | |
tree | a79f7776537a67f4a655890ac9cf823b1740013d /www/cherokee | |
parent | 2c7e6cf00eef270c6217aa985b4978c011695d4a (diff) | |
download | freebsd-ports-gnome-4e01e22a78614f548ec72c66dcb3f21883936142.tar.gz freebsd-ports-gnome-4e01e22a78614f548ec72c66dcb3f21883936142.tar.zst freebsd-ports-gnome-4e01e22a78614f548ec72c66dcb3f21883936142.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' |