svn commit: r357183 - head/devel/magit

Kurt Jaeger pi at FreeBSD.org
Mon Jun 9 16:36:44 UTC 2014


Author: pi
Date: Mon Jun  9 16:36:43 2014
New Revision: 357183
URL: http://svnweb.freebsd.org/changeset/ports/357183
QAT: https://qat.redports.org/buildarchive/r357183/

Log:
  devel/magit: fix possible 'run dependency on git breakage' with an option
  
  Thanks for Thomas Gellekum <Thomas.Gellekum at gmx.de> for the bug report
  and review of the patch.
  
  PR:             ports/189494
  Submitted-By:   Yasuhiro KIMURA (yasu at utahime.org)
  Approved-By:    maintainer (timeout), mentors (implicit)

Modified:
  head/devel/magit/Makefile

Modified: head/devel/magit/Makefile
==============================================================================
--- head/devel/magit/Makefile	Mon Jun  9 16:25:18 2014	(r357182)
+++ head/devel/magit/Makefile	Mon Jun  9 16:36:43 2014	(r357183)
@@ -16,8 +16,6 @@ COMMENT=	Interface to Git for Emacs
 LICENSE=	GFDL GPLv3
 LICENSE_COMB=	multi
 
-RUN_DEPENDS=	git>0:${PORTSDIR}/devel/git
-
 USES=		gmake
 USE_EMACS=	YES
 INFO=		magit
@@ -28,4 +26,9 @@ MAKE_ENV+=	ELISPDIR=${STAGEDIR}${PREFIX}
 		INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH}
 PLIST_SUB+=	ELISPDIR=${ELISPDIR}
 
+OPTIONS_DEFINE=		GIT_SUBVERSION
+GIT_SUBVERSION_DESC=	Use devel/git-subversion as backend
+GIT_SUBVERSION_RUN_DEPENDS=	git-subversion>0:${PORTSDIR}/devel/git-subversion
+GIT_SUBVERSION_RUN_DEPENDS_OFF=	git>0:${PORTSDIR}/devel/git
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list