sci-mathematics/rstudio: cosmetic changes to PATCHES array in 0.99.486-r1
authorMatthew Brewer <tomboy64@sina.cn>
Fri, 29 Jan 2016 04:18:36 +0000 (05:18 +0100)
committerMatthew Brewer <tomboy64@sina.cn>
Fri, 29 Jan 2016 04:18:36 +0000 (05:18 +0100)
Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

sci-mathematics/rstudio/rstudio-0.99.486-r1.ebuild

index c5b11ff7433940b2e549f806cd564b1cff9d5dfe..4f1c7f3284319a7261d57abedbe04b91c90f55d8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -87,6 +87,16 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig"
 #      test? ( dev-java/junit:4 )
 
+PATCHES=(
+               "${FILESDIR}/${PN}-0.98.490-prefs.patch"
+               "${FILESDIR}/${PN}-0.99.473-paths.patch"
+               "${FILESDIR}/${PN}-0.99.473-clang-pandoc.patch"
+               "${FILESDIR}/${PN}-0.98.490-linker_flags.patch"
+               "${FILESDIR}/${PN}-0.98.1091-boost-1.57.patch"
+               "${FILESDIR}/${PN}-0.99.473-qtsingleapplication.patch"
+               "${FILESDIR}/${PN}-0.99.486-systemd.patch"
+)
+
 src_unpack() {
        unpack ${P}.tar.gz gwt-${GWT_VER}.zip
        cd "${S}" || die
@@ -125,13 +135,7 @@ src_prepare() {
 
        find . -name .gitignore -delete || die
 
-       epatch "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
-               "${FILESDIR}"/${PN}-0.99.473-paths.patch \
-               "${FILESDIR}"/${PN}-0.99.473-clang-pandoc.patch \
-               "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch \
-               "${FILESDIR}"/${PN}-0.98.1091-boost-1.57.patch \
-               "${FILESDIR}"/${PN}-0.99.473-qtsingleapplication.patch \
-               "${FILESDIR}"/${PN}-0.99.486-systemd.patch
+       epatch "${PATCHES[@]}"
 
        # Enable CMake to install our .service file for systemd usage
        mkdir -vp "${S}/src/cpp/server/lib/systemd/system" || die