diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-04-30 13:18:00 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-04-30 13:18:00 +0000 |
commit | a61b5dab8bcdaaea0869c3f5cd707e0052a7c1ee (patch) | |
tree | c8508357fd61cc30f1b54609035a94e2c0a2d9e0 /app-admin/realpath | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-a61b5dab8bcdaaea0869c3f5cd707e0052a7c1ee.tar.gz gentoo-2-a61b5dab8bcdaaea0869c3f5cd707e0052a7c1ee.tar.bz2 gentoo-2-a61b5dab8bcdaaea0869c3f5cd707e0052a7c1ee.zip |
Version bump.
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/realpath')
-rw-r--r-- | app-admin/realpath/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/realpath/files/realpath-1.14-build.patch | 26 | ||||
-rw-r--r-- | app-admin/realpath/realpath-1.14.ebuild | 34 |
3 files changed, 68 insertions, 2 deletions
diff --git a/app-admin/realpath/ChangeLog b/app-admin/realpath/ChangeLog index 7d88c3399eb8..3a5e4221e8ef 100644 --- a/app-admin/realpath/ChangeLog +++ b/app-admin/realpath/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/realpath # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/realpath/ChangeLog,v 1.38 2009/01/14 00:41:07 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/realpath/ChangeLog,v 1.39 2009/04/30 13:17:59 ssuominen Exp $ + +*realpath-1.14 (30 Apr 2009) + + 30 Apr 2009; Samuli Suominen <ssuominen@gentoo.org> + +files/realpath-1.14-build.patch, +realpath-1.14.ebuild: + Version bump. 14 Jan 2009; Joseph Jezak <josejx@gentoo.org> realpath-1.12.ebuild: Marked ppc stable for bug #254432. @@ -23,7 +29,7 @@ *realpath-1.12 (16 May 2008) - 16 May 2008; Samuli Suominen <drac@gentoo.org> +realpath-1.12.ebuild: + 16 May 2008; Samuli Suominen <ssuominen@gentoo.org> +realpath-1.12.ebuild: Version bump. 27 Mar 2008; Raúl Porcel <armin76@gentoo.org> realpath-1.9.16.ebuild, diff --git a/app-admin/realpath/files/realpath-1.14-build.patch b/app-admin/realpath/files/realpath-1.14-build.patch new file mode 100644 index 000000000000..baba53f36130 --- /dev/null +++ b/app-admin/realpath/files/realpath-1.14-build.patch @@ -0,0 +1,26 @@ +diff -ur realpath-1.14.orig/common.mk realpath-1.14/common.mk +--- realpath-1.14.orig/common.mk 2009-02-22 11:58:00.000000000 +0000 ++++ realpath-1.14/common.mk 2009-04-30 16:12:29.000000000 +0000 +@@ -34,9 +34,9 @@ + applicationsdir := $(prefix)/share/applications + + PERL := /usr/bin/perl +-CC := gcc +-CFLAGS = -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' +-LDFLAGS := ++CC ?= gcc ++CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' ++LDFLAGS += + LIBS := + + ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +@@ -60,9 +60,6 @@ + unexport CDPATH ENV + + ifdef DESTDIR +- ifneq ($(DESTDIR),$(abspath $(DESTDIR))) +- $(error DESTDIR "$(DESTDIR)" is not an absolute path) +- endif + override ddirshort := DESTDIR + export ddirshort + endif diff --git a/app-admin/realpath/realpath-1.14.ebuild b/app-admin/realpath/realpath-1.14.ebuild new file mode 100644 index 000000000000..b26cd4eaf2c5 --- /dev/null +++ b/app-admin/realpath/realpath-1.14.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/realpath/realpath-1.14.ebuild,v 1.1 2009/04/30 13:17:59 ssuominen Exp $ + +EAPI=2 +inherit eutils toolchain-funcs + +DESCRIPTION="Return the canonicalized absolute pathname" +HOMEPAGE="http://packages.debian.org/unstable/utils/realpath" +SRC_URI="mirror://debian/pool/main/r/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="!sys-freebsd/freebsd-bin" +DEPEND="${RDEPEND} + app-arch/dpkg + app-text/po4a" + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + newdoc debian/changelog ChangeLog.debian +} |