From a459b71ddd8d7b8681d2e5faf7f80f64d2a48ef3 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Sat, 20 Aug 2011 00:18:24 +0000 Subject: 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) --- security/pantera/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'security/pantera') 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} -- cgit v1.2.3