Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 2015 18:01:35 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398611 - head/security/metasploit
Message-ID:  <201510041801.t94I1ZMV044558@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Oct  4 18:01:34 2015
New Revision: 398611
URL: https://svnweb.freebsd.org/changeset/ports/398611

Log:
  - Convert to new options target helper
  
  Approved by:	portmgr (blanket)

Modified:
  head/security/metasploit/Makefile

Modified: head/security/metasploit/Makefile
==============================================================================
--- head/security/metasploit/Makefile	Sun Oct  4 18:01:30 2015	(r398610)
+++ head/security/metasploit/Makefile	Sun Oct  4 18:01:34 2015	(r398611)
@@ -63,8 +63,6 @@ DB_RUN_DEPENDS=	rubygem-activerecord>=3.
 		rubygem-metasploit_data_models>=0.24.0,2:${PORTSDIR}/security/rubygem-metasploit_data_models \
 		rubygem-pg>=0.11:${PORTSDIR}/databases/rubygem-pg
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	${REINPLACE_CMD} 's,git ls-files,find . ! -type d | sed "s|^./||", ; \
 		/jsobfu/s/~> 0.2.0/>= 0.2.0/ ; \
@@ -78,9 +76,9 @@ do-build:
 	${CHMOD} 666 ${WRKSRC}/Gemfile.lock ${WRKSRC}/log/production.log
 	${REINPLACE_CMD} '/^group :coverage/,/^end/d ; /^group :development/,/^end/d ; /^group :test/,/^end/d' \
 		${WRKSRC}/Gemfile
-.if ! ${PORT_OPTIONS:MDB}
+
+do-build-DB-off:
 	${REINPLACE_CMD} '/^group :db do/,/^end/d' ${WRKSRC}/Gemfile
-.endif
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510041801.t94I1ZMV044558>