From e3a50f916c927a81e2f6da804e36d929485bffa5 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Wed, 28 Mar 2012 12:20:50 +0000 Subject: append-lfs-flags uses CPPFLAGS so we need to use those (Portage version: 2.2.0_alpha96/cvs/Linux x86_64) --- app-misc/symlinks/ChangeLog | 8 +++++++- app-misc/symlinks/symlinks-1.4-r1.ebuild | 35 -------------------------------- app-misc/symlinks/symlinks-1.4-r2.ebuild | 35 ++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 36 deletions(-) delete mode 100644 app-misc/symlinks/symlinks-1.4-r1.ebuild create mode 100644 app-misc/symlinks/symlinks-1.4-r2.ebuild (limited to 'app-misc') diff --git a/app-misc/symlinks/ChangeLog b/app-misc/symlinks/ChangeLog index f07f85ff61cd..9642dabe4a30 100644 --- a/app-misc/symlinks/ChangeLog +++ b/app-misc/symlinks/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/symlinks # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/symlinks/ChangeLog,v 1.35 2012/03/28 10:09:10 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/symlinks/ChangeLog,v 1.36 2012/03/28 12:20:50 jlec Exp $ + +*symlinks-1.4-r2 (28 Mar 2012) + + 28 Mar 2012; Justin Lecher -symlinks-1.4-r1.ebuild, + +symlinks-1.4-r2.ebuild: + append-lfs-flags uses CPPFLAGS so we need to use those *symlinks-1.4-r1 (28 Mar 2012) diff --git a/app-misc/symlinks/symlinks-1.4-r1.ebuild b/app-misc/symlinks/symlinks-1.4-r1.ebuild deleted file mode 100644 index 92ed3a4e3339..000000000000 --- a/app-misc/symlinks/symlinks-1.4-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/symlinks/symlinks-1.4-r1.ebuild,v 1.1 2012/03/28 10:09:10 jlec Exp $ - -EAPI=4 - -inherit flag-o-matic eutils toolchain-funcs - -DESCRIPTION="Scans for and fixes broken or messy symlinks" -HOMEPAGE="http://www.ibiblio.org/pub/linux/utils/file/" -SRC_URI="http://www.ibiblio.org/pub/linux/utils/file/${P}.tar.gz" - -LICENSE="freedist" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="static" - -src_prepare() { - # could be useful if being used to repair - # symlinks that are preventing shared libraries from - # functioning. - use static && append-flags -static - append-lfs-flags - sed 's:-O2::g' -i Makefile || die -} - -src_compile() { - emake CC=$(tc-getCC) CFLAGS="${CFLAGS} ${LDFLAGS}" -} - -src_install() { - dobin symlinks - doman symlinks.8 - dodoc symlinks.lsm -} diff --git a/app-misc/symlinks/symlinks-1.4-r2.ebuild b/app-misc/symlinks/symlinks-1.4-r2.ebuild new file mode 100644 index 000000000000..5842f2275678 --- /dev/null +++ b/app-misc/symlinks/symlinks-1.4-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/symlinks/symlinks-1.4-r2.ebuild,v 1.1 2012/03/28 12:20:50 jlec Exp $ + +EAPI=4 + +inherit flag-o-matic eutils toolchain-funcs + +DESCRIPTION="Scans for and fixes broken or messy symlinks" +HOMEPAGE="http://www.ibiblio.org/pub/linux/utils/file/" +SRC_URI="http://www.ibiblio.org/pub/linux/utils/file/${P}.tar.gz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="static" + +src_prepare() { + # could be useful if being used to repair + # symlinks that are preventing shared libraries from + # functioning. + use static && append-flags -static + append-lfs-flags + sed 's:-O2::g' -i Makefile || die +} + +src_compile() { + emake CC=$(tc-getCC) CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" +} + +src_install() { + dobin symlinks + doman symlinks.8 + dodoc symlinks.lsm +} -- cgit v1.2.3-65-gdbad