summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2018-07-14 21:40:40 +0300
committerMart Raudsepp <leio@gentoo.org>2018-07-14 22:32:12 +0300
commit7cb12e41fb9ad7c68edacfe5d3f7509c912ca2c8 (patch)
treedd69c2c3d16267b4d3b7f4503aec8fec2acbe61c /dev-util/codeblocks/codeblocks-17.12-r301.ebuild
parentdev-util/codeblocks: update codeblocks-9999.ebuild (diff)
downloadgentoo-7cb12e41fb9ad7c68edacfe5d3f7509c912ca2c8.tar.gz
gentoo-7cb12e41fb9ad7c68edacfe5d3f7509c912ca2c8.tar.bz2
gentoo-7cb12e41fb9ad7c68edacfe5d3f7509c912ca2c8.zip
dev-util/codeblocks: move large astyle patch to distfiles
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-util/codeblocks/codeblocks-17.12-r301.ebuild')
-rw-r--r--dev-util/codeblocks/codeblocks-17.12-r301.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-util/codeblocks/codeblocks-17.12-r301.ebuild b/dev-util/codeblocks/codeblocks-17.12-r301.ebuild
index ccc5d2c786ae..faf2dc26b2cf 100644
--- a/dev-util/codeblocks/codeblocks-17.12-r301.ebuild
+++ b/dev-util/codeblocks/codeblocks-17.12-r301.ebuild
@@ -12,7 +12,9 @@ HOMEPAGE="http://www.codeblocks.org/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.xz https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz"
+SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.xz
+https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz
+https://dev.gentoo.org/~leio/distfiles/${P}_update_astyle_plugin_to_v3.1.patch.xz"
# USE="fortran" enables FortranProject plugin (v1.5)
# that is delivered with Code::Blocks 17.12 source code.
@@ -42,7 +44,7 @@ PATCHES=(
src_prepare() {
default
if has_version ">=dev-util/astyle-3.1" ; then
- epatch "${FILESDIR}"/codeblocks-17.12_update_astyle_plugin_to_v3.1.patch
+ epatch "${WORKDIR}"/codeblocks-17.12_update_astyle_plugin_to_v3.1.patch
fi
eautoreconf
}