summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-07-26 05:56:59 +0200
committerDavid Seifert <soap@gentoo.org>2018-07-26 05:57:44 +0200
commit059f2642d046f0b1ac8022e97325d0e0b0f50060 (patch)
tree213cbf196233cf110bcd56ac3a8114a88c56801a /x11-plugins/wmxres/wmxres-1.2-r1.ebuild
parentx11-plugins/wmxres: EAPI7, improve ebuild (diff)
downloadgentoo-059f2642d046f0b1ac8022e97325d0e0b0f50060.tar.gz
gentoo-059f2642d046f0b1ac8022e97325d0e0b0f50060.tar.bz2
gentoo-059f2642d046f0b1ac8022e97325d0e0b0f50060.zip
x11-plugins/wmxres: Simplify ebuild
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'x11-plugins/wmxres/wmxres-1.2-r1.ebuild')
-rw-r--r--x11-plugins/wmxres/wmxres-1.2-r1.ebuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/x11-plugins/wmxres/wmxres-1.2-r1.ebuild b/x11-plugins/wmxres/wmxres-1.2-r1.ebuild
index a21121f7f828..cd415d8686c2 100644
--- a/x11-plugins/wmxres/wmxres-1.2-r1.ebuild
+++ b/x11-plugins/wmxres/wmxres-1.2-r1.ebuild
@@ -22,17 +22,13 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${PN}.app"
-PATCHES=( "${FILESDIR}"/${PN}-debian-1.1-1.2.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-debian-1.1-1.2.patch
+ "${FILESDIR}"/${PN}-1.2-r1-fix-build-system.patch
+)
-src_prepare() {
- default
- sed -e "s:-g -c -O2:${CFLAGS} -c:" \
- -e "s:\tcc :\t $(tc-getCC) \$(LDFLAGS) :g" \
- -i Makefile || die "sed failed"
-}
-
-src_compile() {
- emake INCDIR="-I${EPREFIX}/usr/include" LIBDIR="-L${EPREFIX}/usr/$(get_libdir)"
+src_configure() {
+ tc-export CC
}
src_install() {