diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-11-14 23:29:28 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-11-14 23:29:28 +0000 |
commit | a873f496026832ded98785fdec06193c4ded492f (patch) | |
tree | 0d5f92da8b02b505bf43fa34d6d1944eba396966 /app-misc/mvcase | |
parent | respect AR and RANLIB wrt #443152 (diff) | |
download | historical-a873f496026832ded98785fdec06193c4ded492f.tar.gz historical-a873f496026832ded98785fdec06193c4ded492f.tar.bz2 historical-a873f496026832ded98785fdec06193c4ded492f.zip |
respect flags, CC and stuff wrt #443164
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'app-misc/mvcase')
-rw-r--r-- | app-misc/mvcase/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/mvcase/Manifest | 21 | ||||
-rw-r--r-- | app-misc/mvcase/files/mvcase-0.1-flags.patch | 25 | ||||
-rw-r--r-- | app-misc/mvcase/mvcase-0.1-r1.ebuild | 10 | ||||
-rw-r--r-- | app-misc/mvcase/mvcase-0.1.ebuild | 13 |
5 files changed, 66 insertions, 11 deletions
diff --git a/app-misc/mvcase/ChangeLog b/app-misc/mvcase/ChangeLog index b0e25d6c7ed9..a8d7a3f41d85 100644 --- a/app-misc/mvcase/ChangeLog +++ b/app-misc/mvcase/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/mvcase -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mvcase/ChangeLog,v 1.10 2010/10/20 00:54:21 jer Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mvcase/ChangeLog,v 1.11 2012/11/14 23:29:23 hasufell Exp $ + + 14 Nov 2012; Julian Ospald <hasufell@gentoo.org> mvcase-0.1.ebuild, + mvcase-0.1-r1.ebuild, +files/mvcase-0.1-flags.patch: + respect flags, CC and stuff wrt #443164 *mvcase-0.1-r1 (20 Oct 2010) diff --git a/app-misc/mvcase/Manifest b/app-misc/mvcase/Manifest index 48c71924a5fb..2a145ceb8396 100644 --- a/app-misc/mvcase/Manifest +++ b/app-misc/mvcase/Manifest @@ -1,6 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX mvcase-0.1-flags.patch 531 SHA256 9bd38f4e347a3ae19f047b1ee8e2e949a626f5bf3fc4f0a1edef143789474738 SHA512 1731eacbd22438e4e888750ba5550b5d95365e2f396e3a59326c86d3cd8c20dc7a46490fd116ade13e6191a86966ebb77df4a5a2e10fb2961f45a0f9664a4b77 WHIRLPOOL 1872e31945c633ecde4be36965b2a2867b48ea2b56e0e08fb3b9613852ecbe32bf57780f38aa8deb6eee7c969c2b9b0f9ed1e6235048029ec97ef2a5fb7b4644 AUX mvcase-0.1-includes.patch 526 SHA256 8e0b504f110241e1ff82dcf8d3475831d7df5a83324d6ab1f89b9b39abf0c5ef SHA512 1860cf88e66a4bc219546a87e337056f66a344d6ec400c21bf37c7d7d5b34fdddf3cf2ac7c05274f2c6f313ee7fd530240e1d2089e598b5154c8eb2c4dffa30f WHIRLPOOL 684b0e912a6749a53bf62c78b045432414e778ec9054aa343a230f9aa42befa78664a1679a0ac247f5a8d659e320df63e6a588e05084b63e550c082d18ddd5c6 DIST mvcase-0.1.tar.gz 9467 SHA256 87eb97918fde3a740f4c4968b7fb737909de124ea89774d34c0201bd107c93a2 SHA512 1b6030d51cd0da7bede43f1b528c2b2cc713b3c6ca0ccbb4931672185998957aad1b2e0e78a78148c412b6a36052076caca3606016ad1404e6028442dff8648c WHIRLPOOL c47c1bcb8839478c72577481936a68b1a805f4bb4cdd7ec5770adc9c30862ef766483470f1e0a5677a04fe4dded2b4236a7f16eb76ef78a3414737aca7c44cab -EBUILD mvcase-0.1-r1.ebuild 788 SHA256 b044e30259d94dec15290cba3fc04b1b1335afeaa1e0a8e8ea446508a865519c SHA512 26205027fe88d649b99397755e2238fd937c8a6231776e07cc694fee7a3203fb9abee2a92da5e87207e1a8077f54f57351ca54caf4b5b4642332076ba93cf961 WHIRLPOOL 645f35f73cc2b844adc33d3116201ebee32d9d2703cff1b8d207f187ac487811fc5c5402208a524b9db84857c467f2a63f234036bbc8426a538e3203f38c1e60 -EBUILD mvcase-0.1.ebuild 615 SHA256 6ca267c3e0becf08050569b2eb73aa98727b1dd1aabeec48180caf3812e597fb SHA512 0909b8878f85cbcff188d37836d23391eb24d29f38b199ae10a551868c8f16ca48305b86078ce4f32d3062035bcae21bb6df13c445ce7022135ad0bd1476da47 WHIRLPOOL f1e3c70328728d3155ea7807f91c25f88213372657e36835957b6a5096422657cbb42999b8b79b584773ccd863f6bc8e05bf96d699fb5af0d937daf6996bccb4 -MISC ChangeLog 1176 SHA256 3f9bb4d54329bbfc6cac7a071b0e4e94a43b7f292ba5e779357d663c1294b131 SHA512 91ae5069add0c1b4280dceb4632e082607b266a17370c093634652919adb80ce7ce1e3b38add0716c8152975f8b1377c9522cd9afdb4d984c058b80bbc79a29b WHIRLPOOL 9ac8a6a34068c4a82dc5cb909c5511b6907dfeee3da2fe9f5b9231ecc8e675fff17361f071aa77667659990e58cbe3e6e166c7c96c77341d786240df9cd410c6 +EBUILD mvcase-0.1-r1.ebuild 792 SHA256 3254e04b1e446fdb32d9a520c73170857f9b654cd5c14979076d2dfb1dd0ade2 SHA512 ccc914230e2b78ad2c9cd9c1fcf84d31fb9d1dec9b3dc659335236152e285d7559937517bef0cbccb9df4ef38dd21e657fbc2ab6dafcc14c7f06e30d5a662e0b WHIRLPOOL ca55dd95e4f6a740acabe2d6398ad9da86e34b935d8d720774786250da0136beb03765f8956107204d1afa40f5f95a4cdbd8c2db5b64acfb9674638924ae6aa6 +EBUILD mvcase-0.1.ebuild 742 SHA256 092d4c5d7eab9d763885b48d079f69cddcaf8c24beceabaf3f8ba3946ea597ba SHA512 faec1ab74bb10737733929b2a2d096bc55fd32263cdea0985587942bb9500b2ef44bd526a54c76db16148712f4f4109e0ee0a586106f9aff7d321aa5c8e005fe WHIRLPOOL 39035e51d0d8eabfdd65d8176668f9d898d94cfa7751629f90796e700a75ff857d5db52b3a95eacba6a8639c79c5bea828eb8d292cc61922e99b96f85fd97327 +MISC ChangeLog 1349 SHA256 fb46b80cdd7eb0d9bd4bb4096a7223e79f40446e4941ebd0d255b067b368517e SHA512 27894731e9c485cc235f672ae7fbd3af3521f678309f27b83668707d52f5b625592d4df4878ba3a08e8455e8b8e803bf1bfe60a369cb20082fd5dea4913e7906 WHIRLPOOL 26964fd22cf6c88026e1cee8de434df42fc1069162c19d09f77a7a83ffef267d4dde85846321f596f1f34f27878de8908b30d22243cec0f0126c127589f66a7a MISC metadata.xml 214 SHA256 0e019c1dee563e5b23815be471ae1b65fcaf721a91ec48037446d41ca787d3e5 SHA512 701b8c51f43f8660d40700929c243a2dae9f19dcbc7b8eca877e20eadc1ae2e0c84f7c7d8c3cb576055c1a49a55e9c759ef469eeda67026ce252d341937f6691 WHIRLPOOL 977119e736e0795137df14faae681f7fa07ba8297a19ef4a7d7b93de7efceaed16f7103f179a762be41b8849c33c535b55d16d2fd0ea795df0525592752e0156 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJQpClYAAoJEFpvPKfnPDWzP2oH/0mmHFtIescPlnKA0ISS93d0 +cQOYkCI01fggKmgzr6h5p5aKYOF/C+3artc7sZcIrmhcaeRaXsV2H9YnxFzGR9P9 +B18iykcAdxl7RC5Q83Hb6C2VoswVfrWKzdM/+69Rpr5SSdVHJX82Uh+LivceASjI +SRkoxuwtoD3Z4z6WDsWRhWNYn+WfYwNI2kGjRbwZw/DXTh2ufIc5R/CbL3pwBnYp +JJi2vng5MhQsk2b1qLI7RFSDaiDrgna4gp58kqAb4960xHarDwzPMaercAB4EzLC +PtYTx1Xs1iyE+E9AUhNdilC7WkU2PXhtXOuqbT0AHckar3kO47gm1PysvdpDnOA= +=lWEF +-----END PGP SIGNATURE----- diff --git a/app-misc/mvcase/files/mvcase-0.1-flags.patch b/app-misc/mvcase/files/mvcase-0.1-flags.patch new file mode 100644 index 000000000000..e0a9e99160f8 --- /dev/null +++ b/app-misc/mvcase/files/mvcase-0.1-flags.patch @@ -0,0 +1,25 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Wed Nov 14 23:22:15 UTC 2012 +Subject: build system + + respect CC, CFLAGS and LDFLAGS + +--- mvcase-0.1/Makefile ++++ mvcase-0.1/Makefile +@@ -6,14 +6,13 @@ + MANPATH=/usr/man + COMPILE=gcc + ROFF=groff +-CFLAGS= +-CLIBS=-lshhopt ++LIBS=-lshhopt + INSTALL=install + + all: mvcase mvcase.1.gz + + mvcase: mvcase.c +- $(COMPILE) $(CFLAGS) mvcase.c -o mvcase $(CLIBS) ++ $(CC) $(CFLAGS) mvcase.c -o mvcase $(LDFLAGS) $(LIBS) + + mvcase.1.gz: mvcase.1 + $(ROFF) -man -Tascii mvcase.1 | gzip > mvcase.1.gz diff --git a/app-misc/mvcase/mvcase-0.1-r1.ebuild b/app-misc/mvcase/mvcase-0.1-r1.ebuild index 955740187417..2313736057c8 100644 --- a/app-misc/mvcase/mvcase-0.1-r1.ebuild +++ b/app-misc/mvcase/mvcase-0.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mvcase/mvcase-0.1-r1.ebuild,v 1.1 2010/10/20 00:54:20 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/mvcase/mvcase-0.1-r1.ebuild,v 1.2 2012/11/14 23:29:23 hasufell Exp $ EAPI="2" @@ -19,11 +19,13 @@ DEPEND="dev-libs/shhopt" RDEPEND="${DEPEND}" src_prepare() { - epatch "${FILESDIR}"/${P}-includes.patch + epatch "${FILESDIR}"/${P}-includes.patch \ + "${FILESDIR}"/${P}-flags.patch } src_compile() { - emake COMPILE=$(tc-getCC) CFLAGS="${CFLAGS} ${LDFLAGS}" || die + tc-export CC + emake || die } src_install() { diff --git a/app-misc/mvcase/mvcase-0.1.ebuild b/app-misc/mvcase/mvcase-0.1.ebuild index 779cec09872e..42034ceb7db2 100644 --- a/app-misc/mvcase/mvcase-0.1.ebuild +++ b/app-misc/mvcase/mvcase-0.1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mvcase/mvcase-0.1.ebuild,v 1.8 2008/03/29 13:50:25 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/mvcase/mvcase-0.1.ebuild,v 1.9 2012/11/14 23:29:23 hasufell Exp $ + +inherit eutils toolchain-funcs DESCRIPTION="A modified version of mv, used to convert filenames to lower/upper case" HOMEPAGE="http://www.ibiblio.org/pub/Linux/utils/file" @@ -13,7 +15,14 @@ IUSE="" DEPEND="dev-libs/shhopt" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-flags.patch +} + src_compile() { + tc-export CC emake || die } |