diff options
author | David Seifert <soap@gentoo.org> | 2017-05-06 17:02:35 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-05-07 00:19:55 +0200 |
commit | e074daac3591b127416eee4c9df6e44ec46a3d56 (patch) | |
tree | 4cb21de31a430b7a100a74c1bfd78f87e64a98bc /net-im | |
parent | kde-frameworks/kdelibs: Remove PREFIX setting for CMake (diff) | |
download | gentoo-e074daac3591b127416eee4c9df6e44ec46a3d56.tar.gz gentoo-e074daac3591b127416eee4c9df6e44ec46a3d56.tar.bz2 gentoo-e074daac3591b127416eee4c9df6e44ec46a3d56.zip |
net-im/minbif: Remove PREFIX setting for CMake
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4555
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/minbif/minbif-1.0.5-r2.ebuild | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/net-im/minbif/minbif-1.0.5-r2.ebuild b/net-im/minbif/minbif-1.0.5-r2.ebuild index c2f971d81819..1d5e71be66a7 100644 --- a/net-im/minbif/minbif-1.0.5-r2.ebuild +++ b/net-im/minbif/minbif-1.0.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -28,15 +28,19 @@ RDEPEND="${DEPEND} xinetd? ( sys-apps/xinetd ) " +PATCHES=( + "${FILESDIR}/${PN}-1.0.5-glib-single-includes.patch" + "${FILESDIR}/${PN}-1.0.5-gcc47.patch" + "${FILESDIR}/${PN}-1.0.5-rename-imlib-load-error.patch" +) + pkg_setup() { enewgroup minbif enewuser minbif -1 -1 /var/lib/minbif minbif } src_prepare() { - epatch "${FILESDIR}/${PN}-1.0.5-glib-single-includes.patch" - epatch "${FILESDIR}/${PN}-1.0.5-gcc47.patch" - epatch "${FILESDIR}/${PN}-1.0.5-rename-imlib-load-error.patch" + cmake-utils_src_prepare sed -i "s/-Werror//g" CMakeLists.txt || die "sed failed" @@ -50,14 +54,14 @@ src_prepare() { } src_configure() { - local mycmakeargs - mycmakeargs="${mycmakeargs} - -DCONF_PREFIX=${PREFIX:-/etc/minbif} + local mycmakeargs=( + -DCONF_PREFIX="${EPREFIX}"/etc/minbif -DENABLE_VIDEO=OFF $(cmake-utils_use_enable libcaca CACA) $(cmake-utils_use_enable imlib IMLIB) $(cmake-utils_use_enable pam PAM) - $(cmake-utils_use_enable gnutls TLS)" + $(cmake-utils_use_enable gnutls TLS) + ) cmake-utils_src_configure } |