aboutsummaryrefslogtreecommitdiff
path: root/security/pantera
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-08-20 00:18:24 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-08-20 00:18:24 +0000
commita459b71ddd8d7b8681d2e5faf7f80f64d2a48ef3 (patch)
treebc8da2f9262dafcab790e796f23f16b946da9433 /security/pantera
parentb15a88687be41fb11c1a66346a40543369b598da (diff)
downloadports-a459b71ddd8d7b8681d2e5faf7f80f64d2a48ef3.tar.gz
ports-a459b71ddd8d7b8681d2e5faf7f80f64d2a48ef3.zip
Remove direct dependency on mysqld, and replace it with conditionally
including USE_MYSQL= server if the option is chosen, or = yes if not to preserve the old behavior. PR: ports/159542 Submitted by: me Approved by: maintainer timeout (14 days)
Notes
Notes: svn path=/head/; revision=280041
Diffstat (limited to 'security/pantera')
-rw-r--r--security/pantera/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/pantera/Makefile b/security/pantera/Makefile
index 79e57b26c409..b49885bb0733 100644
--- a/security/pantera/Makefile
+++ b/security/pantera/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pantera
PORTVERSION= 0.1.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/owasp/Pantera/Pantera_Release_${PORTVERSION}
DISTNAME= Pantera_Release_${PORTVERSION}
@@ -21,13 +22,14 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
BROKEN= bad dependency line
.if !defined(WITHOUT_MYSQL_SERVER)
-BUILD_DEPENDS+= mysql:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
+USE_MYSQL= server
+.else
+USE_MYSQL= yes
.endif
WRKSRC= ${WRKDIR}/Pantera_Release
USE_ZIP= yes
USE_PYTHON= yes
-USE_MYSQL= yes
NO_BUILD= yes
SUB_FILES= pkg-message pantera.sh
SUB_LIST+= SCRIPTDIR=${SCRIPTDIR}