diff options
author | pi <pi@FreeBSD.org> | 2014-06-10 00:36:43 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2014-06-10 00:36:43 +0800 |
commit | f9bca2e8fd7bc26f15d23448638c8d658919d3a3 (patch) | |
tree | 8f62546038e00d5dc8bbcffc357945490594ff35 /devel | |
parent | 4066989318c84e49c9377c2ab7b929f63447c97f (diff) | |
download | freebsd-ports-gnome-f9bca2e8fd7bc26f15d23448638c8d658919d3a3.tar.gz freebsd-ports-gnome-f9bca2e8fd7bc26f15d23448638c8d658919d3a3.tar.zst freebsd-ports-gnome-f9bca2e8fd7bc26f15d23448638c8d658919d3a3.zip |
devel/magit: fix possible 'run dependency on git breakage' with an option
Thanks for Thomas Gellekum <Thomas.Gellekum@gmx.de> for the bug report
and review of the patch.
PR: ports/189494
Submitted-By: Yasuhiro KIMURA (yasu@utahime.org)
Approved-By: maintainer (timeout), mentors (implicit)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/magit/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/magit/Makefile b/devel/magit/Makefile index d1914cde0dec..e9c38066898b 100644 --- a/devel/magit/Makefile +++ b/devel/magit/Makefile @@ -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}/${ELISPDIR} \ 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> |