diff options
author | David Seifert <soap@gentoo.org> | 2016-04-13 22:07:16 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-04-13 22:07:55 +0200 |
commit | 760e6538395d889c5481876a772a384fea67fdd5 (patch) | |
tree | f1d4abf989d1c1d60892c5be9dd6fc6708a1e7c1 /www-apache/anyterm/anyterm-1.1.29-r1.ebuild | |
parent | www-client/midori: -DUSE_ requires uppercase variable names (diff) | |
download | gentoo-760e6538395d889c5481876a772a384fea67fdd5.tar.gz gentoo-760e6538395d889c5481876a772a384fea67fdd5.tar.bz2 gentoo-760e6538395d889c5481876a772a384fea67fdd5.zip |
www-apache/anyterm: Fix boost::system underlinking
Gentoo-Bug: 579522
* EAPI=6
* Remove unnecessary '|| die' on Gentoo helper functions
* Add missing 'toolchain-funcs' inherit
* Make all patches -p1 compliant for eapply
Package-Manager: portage-2.2.28
Diffstat (limited to 'www-apache/anyterm/anyterm-1.1.29-r1.ebuild')
-rw-r--r-- | www-apache/anyterm/anyterm-1.1.29-r1.ebuild | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild index 88c80e5ebda2..a627d7c21bd4 100644 --- a/www-apache/anyterm/anyterm-1.1.29-r1.ebuild +++ b/www-apache/anyterm/anyterm-1.1.29-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=6 -inherit eutils flag-o-matic +inherit flag-o-matic toolchain-funcs DESCRIPTION="A terminal anywhere" HOMEPAGE="http://anyterm.org/" @@ -26,25 +26,30 @@ PATCHES=( ) src_prepare() { - epatch "${PATCHES[@]}" + default + + # Fix underlinking issue caused by recent boost versions + # depending on boost::system, Gentoo bug #579522 + sed -e 's/\($(CXX) -o $@ $(LDFLAGS) $(OBJS) $(BLOBS) $(LINK_FLAGS)\)/\1 -lboost_system/' \ + -i common.mk || die } src_compile() { # this package uses `ld -r -b binary` and thus resulting executable contains # executable stack append-ldflags -Wl,-z,noexecstack - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" } src_install() { - dosbin anytermd || die - dodoc CHANGELOG README || die - doman anytermd.1 || die - newinitd "${FILESDIR}/anyterm.init.d" anyterm || die - newconfd "${FILESDIR}/anyterm.conf.d" anyterm || die + dosbin anytermd + dodoc CHANGELOG README + doman anytermd.1 + newinitd "${FILESDIR}/anyterm.init.d" anyterm + newconfd "${FILESDIR}/anyterm.conf.d" anyterm } pkg_postinst() { - elog "To proceed installation, read following:" + elog "To proceed with installation, read the following:" elog "http://anyterm.org/1.1/install.html" } |