diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-17 17:51:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-17 17:51:45 +0100 |
commit | 420eeee727d39d869d864caddb04a80dafda7160 (patch) | |
tree | 87f15d7467082dd92fce78a6cc2f56fa8d0774af /x11-misc/slim/slim-9999.ebuild | |
parent | 0fdd4074ff3dc0c507a9867380a4f91250a0b610 (diff) |
gentoo resync : 17.10.2017
Diffstat (limited to 'x11-misc/slim/slim-9999.ebuild')
-rw-r--r-- | x11-misc/slim/slim-9999.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/x11-misc/slim/slim-9999.ebuild b/x11-misc/slim/slim-9999.ebuild index 1b8b9a68b1c8..7b08d5e831de 100644 --- a/x11-misc/slim/slim-9999.ebuild +++ b/x11-misc/slim/slim-9999.ebuild @@ -38,9 +38,13 @@ DEPEND="${RDEPEND} x11-proto/xproto" PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )" -src_prepare() { +PATCHES=( # Our Gentoo-specific config changes - epatch "${FILESDIR}"/${P}-config.diff + "${FILESDIR}"/${P}-config.diff +) + +src_prepare() { + cmake-utils_src_prepare if use elibc_FreeBSD; then sed -i -e 's/"-DHAVE_SHADOW"/"-DNEEDS_BASENAME"/' CMakeLists.txt \ @@ -54,7 +58,7 @@ src_prepare() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( $(cmake-utils_use pam USE_PAM) $(cmake-utils_use consolekit USE_CONSOLEKIT) ) |