diff options
author | zi <zi@FreeBSD.org> | 2013-07-25 00:38:56 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2013-07-25 00:38:56 +0800 |
commit | 1c07e46ed88437bac8c58d57821853a1adeab406 (patch) | |
tree | 6a9965324aee8ca196cde5a24fa163c4722adba2 | |
parent | ce253cbf840b2f9c92460768c39651dd41d9d9ce (diff) | |
download | freebsd-ports-gnome-1c07e46ed88437bac8c58d57821853a1adeab406.tar.gz freebsd-ports-gnome-1c07e46ed88437bac8c58d57821853a1adeab406.tar.zst freebsd-ports-gnome-1c07e46ed88437bac8c58d57821853a1adeab406.zip |
- Optionally depend on net-ldap
-rw-r--r-- | www/redmine/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/www/redmine/Makefile b/www/redmine/Makefile index 78780d0760ab..3c86aa4a3b72 100644 --- a/www/redmine/Makefile +++ b/www/redmine/Makefile @@ -18,8 +18,7 @@ RUN_DEPENDS= rubygem-rubytree>=0:${PORTSDIR}/devel/rubygem-rubytree \ rubygem-rack-openid>=0:${PORTSDIR}/www/rubygem-rack-openid \ rubygem-coderay>=1.0.9:${PORTSDIR}/textproc/rubygem-coderay \ rubygem-fastercsv>=1.5.0:${PORTSDIR}/devel/rubygem-fastercsv \ - rubygem-builder>=3.0.0:${PORTSDIR}/devel/rubygem-builder \ - rubygem-net-ldap>=0.3.1:${PORTSDIR}/net/rubygem-net-ldap + rubygem-builder>=3.0.0:${PORTSDIR}/devel/rubygem-builder USE_RUBY= yes USE_RUBY_FEATURES= iconv @@ -27,7 +26,7 @@ USE_RAKE= yes NO_BUILD= yes SUB_LIST+= RUBY_NAME=${RUBY_NAME} -OPTIONS_DEFINE= MYSQL POSTGRESQL RMAGIC WWWSERVER +OPTIONS_DEFINE= MYSQL POSTGRESQL RMAGIC WWWSERVER LDAP OPTIONS_DEFAULT=MYSQL RMAGIC WWWSERVER THIN OPTIONS_SINGLE= WWWSERVER OPTIONS_SINGLE_WWWSERVER= THIN PASSENGER @@ -65,6 +64,10 @@ RUN_DEPENDS+= passenger-config:${PORTSDIR}/www/rubygem-passenger .endif .endif +.if ${PORT_OPTIONS:MLDAP} +RUN_DEPENDS+= rubygem-net-ldap>=0.3.1:${PORTSDIR}/net/rubygem-net-ldap +.endif + post-extract: ${MV} ${WRKSRC}/config/settings.yml ${WRKSRC}/config/settings.yml-dist |