diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-09-18 15:20:19 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-09-18 15:20:19 +0000 |
commit | f6bb3544325ad7be257df91225abba26bdcfeba4 (patch) | |
tree | d00fd2bce30412aa3ff38a1da2dc098ad494d79a /app-misc/countrycodes | |
parent | alpha/ia64/sparc stable wrt #333717 (diff) | |
download | historical-f6bb3544325ad7be257df91225abba26bdcfeba4.tar.gz historical-f6bb3544325ad7be257df91225abba26bdcfeba4.tar.bz2 historical-f6bb3544325ad7be257df91225abba26bdcfeba4.zip |
Respecting LDFLAGS, 337878
Package-Manager: portage-2.2_rc83/cvs/Linux x86_64
Diffstat (limited to 'app-misc/countrycodes')
-rw-r--r-- | app-misc/countrycodes/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/countrycodes/Manifest | 14 | ||||
-rw-r--r-- | app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild | 37 | ||||
-rw-r--r-- | app-misc/countrycodes/files/1.0.5-Makefile.patch | 42 |
4 files changed, 100 insertions, 3 deletions
diff --git a/app-misc/countrycodes/ChangeLog b/app-misc/countrycodes/ChangeLog index 56d2736908bd..a464cbac5024 100644 --- a/app-misc/countrycodes/ChangeLog +++ b/app-misc/countrycodes/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/countrycodes -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/countrycodes/ChangeLog,v 1.20 2009/09/23 16:00:20 patrick Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/countrycodes/ChangeLog,v 1.21 2010/09/18 15:20:19 jlec Exp $ + +*countrycodes-1.0.5-r1 (18 Sep 2010) + + 18 Sep 2010; Justin Lecher <jlec@gentoo.org> +files/1.0.5-Makefile.patch, + +countrycodes-1.0.5-r1.ebuild: + Respecting LDFLAGS, 337878 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> countrycodes-1.0.5.ebuild: Remove virtual/libc diff --git a/app-misc/countrycodes/Manifest b/app-misc/countrycodes/Manifest index b5c6cc15f23c..cde9e4b4255c 100644 --- a/app-misc/countrycodes/Manifest +++ b/app-misc/countrycodes/Manifest @@ -1,5 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 1.0.5-Makefile.patch 1050 RMD160 817aee97b7467bcce63fb2e97f8c5c9ef7045fc3 SHA1 d289ff1b6b44e4f127630b07a1adbd88727780dd SHA256 64ccdb518fcbb861c3801a45173c4c9e41c0f4054dfbe1bb01d3e6b61ed0c772 AUX countrycodes-1.0.5-Makefile.patch 564 RMD160 4f9e7d9048db744783f212ea1e9bcd8bda5e28ad SHA1 14f377e5537dce216ce365a786e91d37eb4bc208 SHA256 120e0483546f0d93009902f445a3360a5a0460ee78b03a188a8e149b7953886c DIST countrycodes-1.0.5.tar.gz 18621 RMD160 7231b553098ddbb3e3fc9d4e300f7dfdb3c078e3 SHA1 892a69dfabc0493fc8b38619c2be708fe7461ff5 SHA256 e56e10442c7353c39cd9e57fa747df279ae39a84a89336644a58c29de5b2b39b +EBUILD countrycodes-1.0.5-r1.ebuild 985 RMD160 1f2bdec9713a9290c81b2bce05aa12639641c2f1 SHA1 810405236c1e10f00023d34288d0db4e1deadb87 SHA256 0b57f06fab9e9eb55a5f7711e634c5f67410fb660300ea1a424399d21ebd970a EBUILD countrycodes-1.0.5.ebuild 1084 RMD160 b75207be30256620737ea4f1001edfebe6978a8a SHA1 e1e2348c19328f54c4ac26e2ba20d85acc512cd3 SHA256 e998bdef9ee46b5943a3a92df673e95c9885639c4d0c7685d87d9fdac6a43c63 -MISC ChangeLog 2348 RMD160 29e055d7a3fc843777fb6dd1aedca173233f8c5e SHA1 4c352e45042dd367f3c384b5aafa9c993985ce28 SHA256 4bcaec78928d111061d721fedec42b8a95d8821520ee9d8f847d504422e8848a +MISC ChangeLog 2522 RMD160 c7c5ec7eabb24cdae2367eec30c5f6f01bc89f15 SHA1 e111a2fd7fba86024cde37bd6ce0e981967198e8 SHA256 dacf60abc6cfccee71049621e22f256ef6bfd917bc1939eeb00a890a69f6bf8b MISC metadata.xml 165 RMD160 c4557a3518a065b077539be5a0f20e4735fc2141 SHA1 1831705b1eb97b63968fc9eef31aa904a69a854a SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkyU2LgACgkQgAnW8HDreRbj/gCghXtah6G9rqRBnhlGytuabqRV +VTgAnA1SwxYgIqk4QHcVB9NSUvXqU13g +=Oc7u +-----END PGP SIGNATURE----- diff --git a/app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild b/app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild new file mode 100644 index 000000000000..a82ec0d41645 --- /dev/null +++ b/app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild,v 1.1 2010/09/18 15:20:19 jlec Exp $ + +EAPI="3" + +inherit eutils toolchain-funcs + +DESCRIPTION="An ISO 3166 country code finder" +HOMEPAGE="http://www.grigna.com/diego/linux/countrycodes/" +SRC_URI="http://www.grigna.com/diego/linux/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}"/${P}/src + +src_prepare() { + epatch "${FILESDIR}"/${PV}-Makefile.patch + tc-export CC +} + +#src_compile() { +# emake -C src CCOPTS="${CFLAGS}" || die "emake failed" +#} + +src_install() { + emake \ + prefix="${D}/usr" \ + mandir="${D}/usr/share/man/man1" install || die "make install failed" + dosym iso3166 /usr/bin/countrycodes || die + dosym iso3166.1 /usr/share/man/man1/countrycodes || die + dodoc ../doc/{Changelog,README} || die + prepman +} diff --git a/app-misc/countrycodes/files/1.0.5-Makefile.patch b/app-misc/countrycodes/files/1.0.5-Makefile.patch new file mode 100644 index 000000000000..4ee47e32dfd2 --- /dev/null +++ b/app-misc/countrycodes/files/1.0.5-Makefile.patch @@ -0,0 +1,42 @@ +diff --git a/src/Makefile b/src/Makefile +index 9330578..3ff7319 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -26,13 +26,13 @@ BINMODE=755 + LOGDIRMODE=700 + + # Compiler to use +-CC=gcc ++CC ?= gcc + + # Compiler warnings +-WARNINGS= -pedantic -Wall ++WARNINGS= + + # Compiler flags +-CCOPTS = -O2 -fomit-frame-pointer ++CCOPTS = ${CFLAGS} + + # The makefile standards document I read says that I have to put it here... + SHELL = /bin/sh +@@ -61,7 +61,7 @@ PROGRAM = iso3166 + all: $(PROGRAM) + + $(PROGRAM): $(ISO3166OBJ) +- $(CC) $(CCOPTS) $(ISO3166OBJ) -o $@ ++ $(CC) $(CCOPTS) $(LDFLAGS) $(ISO3166OBJ) -o $@ + + clean: + rm -f $(ISO3166OBJ) core defines.h $(PROGRAM) +@@ -70,8 +70,10 @@ strip: + strip $(PROGRAM) + + install: +- $(INSTALL) -g root -m $(BINMODE) -o root -s ${srcdir}/$(PROGRAM) ${bindir} ++ mkdir -p ${bindir} ++ $(INSTALL) -g root -m $(BINMODE) -o root ${srcdir}/$(PROGRAM) ${bindir} + @echo "Installing man page..." ++ mkdir -p ${mandir} + @$(SEDBIN) $(SEDCMDS) ${docdir}/iso3166.1.in > ${mandir}/iso3166.1 + @chown 0.0 ${mandir}/iso3166.1 + @echo |