diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-05 05:00:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-05-05 05:00:39 +0000 |
commit | 55b76daaacb855627ab73a12bca40c509a952a7c (patch) | |
tree | 874bab261d9ba0a2ea5227b1b3b9adfbad8811b0 /app-arch/unar | |
parent | Version bump. (diff) | |
download | gentoo-2-55b76daaacb855627ab73a12bca40c509a952a7c.tar.gz gentoo-2-55b76daaacb855627ab73a12bca40c509a952a7c.tar.bz2 gentoo-2-55b76daaacb855627ab73a12bca40c509a952a7c.zip |
Respect AR/CXX/CPPFLAGS, and use CXX when linking #464042 by Patrick Lauer.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'app-arch/unar')
-rw-r--r-- | app-arch/unar/ChangeLog | 6 | ||||
-rw-r--r-- | app-arch/unar/unar-1.5.ebuild | 22 |
2 files changed, 16 insertions, 12 deletions
diff --git a/app-arch/unar/ChangeLog b/app-arch/unar/ChangeLog index 915baf6b5f15..e126ef8ae793 100644 --- a/app-arch/unar/ChangeLog +++ b/app-arch/unar/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-arch/unar # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/unar/ChangeLog,v 1.3 2013/01/10 22:17:58 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/unar/ChangeLog,v 1.4 2013/05/05 05:00:39 vapier Exp $ + + 05 May 2013; Mike Frysinger <vapier@gentoo.org> unar-1.5.ebuild: + Respect AR/CXX/CPPFLAGS, and use CXX when linking #464042 by Patrick Lauer. *unar-1.5 (10 Jan 2013) @@ -29,4 +32,3 @@ 08 Oct 2011; Hanno Boeck <hanno@gentoo.org> +TheUnarchiver-2.7.1.ebuild, +metadata.xml: Initial commit, unpacker for various archiving formats including rar v3. - diff --git a/app-arch/unar/unar-1.5.ebuild b/app-arch/unar/unar-1.5.ebuild index ca0c2a7bf976..bf71293ae8c4 100644 --- a/app-arch/unar/unar-1.5.ebuild +++ b/app-arch/unar/unar-1.5.ebuild @@ -1,16 +1,16 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/unar/unar-1.5.ebuild,v 1.1 2013/01/10 22:17:58 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/unar/unar-1.5.ebuild,v 1.2 2013/05/05 05:00:38 vapier Exp $ EAPI=4 inherit toolchain-funcs -DESCRIPTION="Unpacker for various archiving formats, e.g. rar v3." +DESCRIPTION="unpacker for various archiving formats, e.g. rar v3" HOMEPAGE="http://unarchiver.c3.cx/" SRC_URI="http://theunarchiver.googlecode.com/files/${PN}${PV}_src.zip" -LICENSE="LGPL-2.1" +LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64" IUSE="" @@ -25,16 +25,18 @@ S="${WORKDIR}/The Unarchiver/XADMaster" src_compile() { emake -f Makefile.linux \ + AR="$(tc-getAR)" \ CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ OBJCC="$(tc-getCC)" \ - C_OPTS="-std=gnu99 ${CFLAGS}" \ - OBJC_OPTS="-std=gnu99 ${CFLAGS}" \ - LD="$(tc-getCC)" \ - LDFLAGS="-Wl,--whole-archive -fexceptions -fgnu-runtime \ - ${LDFLAGS}" || die "emake failed" + C_OPTS="-std=gnu99 ${CFLAGS} ${CPPFLAGS}" \ + CXX_OPTS="${CXXFLAGS} ${CPPFLAGS}" \ + OBJC_OPTS="-std=gnu99 ${CFLAGS} ${CPPFLAGS}" \ + LD="$(tc-getCXX)" \ + LDFLAGS="-Wl,--whole-archive -fexceptions -fgnu-runtime ${LDFLAGS}" } src_install() { - dobin unar lsar || die "dobin failed" - doman ../Extra/lsar.1 ../Extra/unar.1 || die "doman failed" + dobin {ls,un}ar + doman ../Extra/{ls,un}ar.1 } |