diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-08-02 23:00:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-08-02 23:00:54 +0000 |
commit | f0269ab2c65612d67ed53020ab0f18292d10e878 (patch) | |
tree | c518243adc90163c93e34c2b4a59b7327ba2ca99 /sys-devel | |
parent | old (diff) | |
download | historical-f0269ab2c65612d67ed53020ab0f18292d10e878.tar.gz historical-f0269ab2c65612d67ed53020ab0f18292d10e878.tar.bz2 historical-f0269ab2c65612d67ed53020ab0f18292d10e878.zip |
Fix header install and library generation/install #183679 by Daniel Gryniewicz.
Package-Manager: portage-2.1.3
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/sparse/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/sparse/Manifest | 48 | ||||
-rw-r--r-- | sys-devel/sparse/files/digest-sparse-0.3-r1 | 3 | ||||
-rw-r--r-- | sys-devel/sparse/files/sparse-0.3-makefile-fix.patch | 20 | ||||
-rw-r--r-- | sys-devel/sparse/metadata.xml | 3 | ||||
-rw-r--r-- | sys-devel/sparse/sparse-0.3-r1.ebuild | 32 |
6 files changed, 89 insertions, 25 deletions
diff --git a/sys-devel/sparse/ChangeLog b/sys-devel/sparse/ChangeLog index 6c2cff5890c1..6fa03aa0d099 100644 --- a/sys-devel/sparse/ChangeLog +++ b/sys-devel/sparse/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/sparse # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/ChangeLog,v 1.7 2007/06/26 16:51:52 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/ChangeLog,v 1.8 2007/08/02 23:00:54 vapier Exp $ + +*sparse-0.3-r1 (02 Aug 2007) + + 02 Aug 2007; Mike Frysinger <vapier@gentoo.org> + files/sparse-0.3-makefile-fix.patch, metadata.xml, +sparse-0.3-r1.ebuild: + Fix header install and library generation/install #183679 by Daniel Gryniewicz. *sparse-0.3 (26 Jun 2007) diff --git a/sys-devel/sparse/Manifest b/sys-devel/sparse/Manifest index 4862b546aa9f..6e2334cb90a3 100644 --- a/sys-devel/sparse/Manifest +++ b/sys-devel/sparse/Manifest @@ -1,7 +1,10 @@ -AUX sparse-0.3-makefile-fix.patch 576 RMD160 7e13fce5ca2553efdbeacf5da40c4f1b7141964d SHA1 2fc2c1f5d00bf0fe0a32a77017d4fd53b48323e7 SHA256 09b56e30e5858b68e01440e8858a26e34f0a20ecd49fe41c2b790fa3e0ab8ab2 -MD5 447866a6c908c941b14a63f644cb83e6 files/sparse-0.3-makefile-fix.patch 576 -RMD160 7e13fce5ca2553efdbeacf5da40c4f1b7141964d files/sparse-0.3-makefile-fix.patch 576 -SHA256 09b56e30e5858b68e01440e8858a26e34f0a20ecd49fe41c2b790fa3e0ab8ab2 files/sparse-0.3-makefile-fix.patch 576 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX sparse-0.3-makefile-fix.patch 673 RMD160 a65eb4202fed0cadf6cdadb802e9fb295496b37a SHA1 ff5f077bc727ffe01ade5adf278e10caeb463b27 SHA256 ef540ee89026d1ea44851c1530e5d6ef058b656f4f22f52c2889086c66dd01fa +MD5 61ab07dc44a6ca4a1305d5b85633d0a6 files/sparse-0.3-makefile-fix.patch 673 +RMD160 a65eb4202fed0cadf6cdadb802e9fb295496b37a files/sparse-0.3-makefile-fix.patch 673 +SHA256 ef540ee89026d1ea44851c1530e5d6ef058b656f4f22f52c2889086c66dd01fa files/sparse-0.3-makefile-fix.patch 673 DIST sparse-0.1.tar.gz 172872 RMD160 3f9f19f52411224ac4237f715c6781374ad5946e SHA1 9e0a4d5abb8e8a4be4cf8d9fe632c69dbec3e242 SHA256 5ad42669d91d63d70c23fb0893a835f92ae9690d90a00952c3f7fbea89d15c52 DIST sparse-0.2.tar.gz 173558 RMD160 57ba0c274c99696ad57a5dac561d33afaa1a4286 SHA1 1762fc609fe436e74b87356a52690b5f7bb40c81 SHA256 f30b90216e41087738e82aab4ef44997f5426dd19dcff962f9773a8c2f6494ae DIST sparse-0.3.tar.gz 177462 RMD160 36bb7e5611f56c5b222f33a0853e8315af406704 SHA1 1d868b29234176abd5f3f5463aad1f11d5268dc2 SHA256 e976ea8618acaaa88992298f493cdfc70518da7fcd8ada1e942586a21471b7a6 @@ -13,24 +16,31 @@ EBUILD sparse-0.2.ebuild 744 RMD160 2f2084b83edc957bde9d600e60b0a3d23125a846 SHA MD5 ca699943f320a04aedb22cf9c2260cfb sparse-0.2.ebuild 744 RMD160 2f2084b83edc957bde9d600e60b0a3d23125a846 sparse-0.2.ebuild 744 SHA256 aa78c9c3316146885a0b7611bc230b62b637e56c89e8ddbebc1f32c48c0a2da2 sparse-0.2.ebuild 744 -EBUILD sparse-0.3.ebuild 898 RMD160 fa576be7a43b6853c11e65ff625805fdb4e37fcf SHA1 a619c9cdec453b11f1dc918ad41a5a0a6effff90 SHA256 bedf9ffa2a75cfefced508a9e3900e7dfa28e7682b6d0fd81597a3be18903557 -MD5 a45bc64ae4fe05aeec9bc52d439b9492 sparse-0.3.ebuild 898 -RMD160 fa576be7a43b6853c11e65ff625805fdb4e37fcf sparse-0.3.ebuild 898 -SHA256 bedf9ffa2a75cfefced508a9e3900e7dfa28e7682b6d0fd81597a3be18903557 sparse-0.3.ebuild 898 -MISC ChangeLog 1196 RMD160 1425bd993dc2f9f3e5e5f971382dfc7d8ab1fa2d SHA1 b342b06a3e543968487a5a7748497efcf4e13993 SHA256 59c3dbfabadfda59399bd939bbee6cddf87ce90131f781f8b8ad41b1e6d93e6d -MD5 63d5d8e3969d21e29121b12b58c0c872 ChangeLog 1196 -RMD160 1425bd993dc2f9f3e5e5f971382dfc7d8ab1fa2d ChangeLog 1196 -SHA256 59c3dbfabadfda59399bd939bbee6cddf87ce90131f781f8b8ad41b1e6d93e6d ChangeLog 1196 -MISC metadata.xml 225 RMD160 58128163b5866a9710657a83ca89cdf4c68a94f1 SHA1 827dfb5dfd6693e35f166021f087cd23b47f1aff SHA256 654e9beff147dc4f0ad68503b90fe2358e3ce6bddd52db761bfd1f6224083969 -MD5 0d56082106d0949a8615065b22532ba1 metadata.xml 225 -RMD160 58128163b5866a9710657a83ca89cdf4c68a94f1 metadata.xml 225 -SHA256 654e9beff147dc4f0ad68503b90fe2358e3ce6bddd52db761bfd1f6224083969 metadata.xml 225 +EBUILD sparse-0.3-r1.ebuild 834 RMD160 cc27ff72b8816b553a8d68fca561604a9c5cf4d4 SHA1 16e5431f8cb5030c733f312ab95b83a110d915ee SHA256 df60fb184c1e4113e4ae94df81ac093433730786e5733fb805ae22a2e43cee97 +MD5 69c97332e3e1f949146262d4abca597c sparse-0.3-r1.ebuild 834 +RMD160 cc27ff72b8816b553a8d68fca561604a9c5cf4d4 sparse-0.3-r1.ebuild 834 +SHA256 df60fb184c1e4113e4ae94df81ac093433730786e5733fb805ae22a2e43cee97 sparse-0.3-r1.ebuild 834 +MISC ChangeLog 1436 RMD160 6de28411d4bb3dbea8b9e33747882fdb4c8768c6 SHA1 55cd02901c09dfdd5d7cab07c90ccea02c73b7e1 SHA256 57057dc59b2eb1cc95db3681976389649e33dda2b5cd8e2f471e9305751b8252 +MD5 de314bc064d19f8fd31f63280a988b1c ChangeLog 1436 +RMD160 6de28411d4bb3dbea8b9e33747882fdb4c8768c6 ChangeLog 1436 +SHA256 57057dc59b2eb1cc95db3681976389649e33dda2b5cd8e2f471e9305751b8252 ChangeLog 1436 +MISC metadata.xml 287 RMD160 8dbdf59dad82e2c21cfd2d63978dbe566a51608d SHA1 2a8a986d786941cad8c8ab7528972848197ad735 SHA256 5e9ce4980b5a45caf97095914ff3ebfcb3160b4df316ca52e31a89b6b13aafb1 +MD5 e2819b3d46063c446ad58477d9ed3aa9 metadata.xml 287 +RMD160 8dbdf59dad82e2c21cfd2d63978dbe566a51608d metadata.xml 287 +SHA256 5e9ce4980b5a45caf97095914ff3ebfcb3160b4df316ca52e31a89b6b13aafb1 metadata.xml 287 MD5 776fbf1660846e37c7138b4b06c2d8c0 files/digest-sparse-0.1 232 RMD160 0ef18f558f258558df7e382c20cbc5e417115651 files/digest-sparse-0.1 232 SHA256 6436dfb8b707e8dcadfe1079680c39fa9de00b8cc573eb5700456148ce96288f files/digest-sparse-0.1 232 MD5 8cd80a830b5fc4d9d6bf0c81cc3d8b6a files/digest-sparse-0.2 232 RMD160 84c71d3eb29a0ea77789df0e7aec8b6653e324c0 files/digest-sparse-0.2 232 SHA256 6742369f76ce5a4c6ca93e1e0648f613b9c9c1a6924bd393b6a7b71c10665af2 files/digest-sparse-0.2 232 -MD5 d3fcdc4c20b909841c1b1aeb3305fab3 files/digest-sparse-0.3 232 -RMD160 79f91242e4b1b90918be6e1653359eb9ebf1fd3f files/digest-sparse-0.3 232 -SHA256 fd53a22b301c33411faa6156044b74acd2e1fc131999cf9fad6961a9e6e15196 files/digest-sparse-0.3 232 +MD5 d3fcdc4c20b909841c1b1aeb3305fab3 files/digest-sparse-0.3-r1 232 +RMD160 79f91242e4b1b90918be6e1653359eb9ebf1fd3f files/digest-sparse-0.3-r1 232 +SHA256 fd53a22b301c33411faa6156044b74acd2e1fc131999cf9fad6961a9e6e15196 files/digest-sparse-0.3-r1 232 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.5 (GNU/Linux) + +iD8DBQFGsmJLp/wUKkr7RBoRAo58AJ9hymUIPJq1g78tI5sffkVQF3+y6QCeJDMW +kzpkw8M9tIAjjTZjWmo2V5E= +=CkA/ +-----END PGP SIGNATURE----- diff --git a/sys-devel/sparse/files/digest-sparse-0.3-r1 b/sys-devel/sparse/files/digest-sparse-0.3-r1 new file mode 100644 index 000000000000..ef92f6395fa2 --- /dev/null +++ b/sys-devel/sparse/files/digest-sparse-0.3-r1 @@ -0,0 +1,3 @@ +MD5 daa548bb52f64f00498ad646e5786c0a sparse-0.3.tar.gz 177462 +RMD160 36bb7e5611f56c5b222f33a0853e8315af406704 sparse-0.3.tar.gz 177462 +SHA256 e976ea8618acaaa88992298f493cdfc70518da7fcd8ada1e942586a21471b7a6 sparse-0.3.tar.gz 177462 diff --git a/sys-devel/sparse/files/sparse-0.3-makefile-fix.patch b/sys-devel/sparse/files/sparse-0.3-makefile-fix.patch index 03dafa1f5715..a89316b54f11 100644 --- a/sys-devel/sparse/files/sparse-0.3-makefile-fix.patch +++ b/sys-devel/sparse/files/sparse-0.3-makefile-fix.patch @@ -1,19 +1,20 @@ ---- sparse-0.3/work/sparse-0.3/Makefile 2007-06-15 14:21:33.000000000 +0200 -+++ sparse-0.3-new/work/sparse-0.3/Makefile 2007-06-15 14:21:51.000000000 +0200 -@@ -16,9 +16,9 @@ AR=ar +--- sparse-0.3/Makefile ++++ sparse-0.3/Makefile +@@ -16,9 +16,9 @@ CFLAGS += -DDEBUG DESTDIR= -PREFIX=$(HOME) -BINDIR=$(PREFIX)/bin -LIBDIR=$(PREFIX)/lib +-INCLUDEDIR=$(PREFIX)/include +PREFIX= +BINDIR=$(PREFIX)/usr/bin +LIBDIR=$(PREFIX)/usr/lib - INCLUDEDIR=$(PREFIX)/include ++INCLUDEDIR=$(PREFIX)/usr/include PKGCONFIGDIR=$(LIBDIR)/pkgconfig -@@ -38,7 +38,7 @@ LIB_OBJS= target.o parse.o tokenize.o pr +@@ -38,7 +38,7 @@ LIB_FILE= libsparse.a SLIB_FILE= libsparse.so @@ -22,3 +23,12 @@ all: $(PROGRAMS) sparse.pc +@@ -101,7 +101,7 @@ + $(AR) rcs $@ $(LIB_OBJS) + + $(SLIB_FILE): $(LIB_OBJS) +- $(CC) -shared -o $@ $(LIB_OBJS) ++ $(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -o $@ $(LIB_OBJS) + + evaluate.o: $(LIB_H) + expression.o: $(LIB_H) diff --git a/sys-devel/sparse/metadata.xml b/sys-devel/sparse/metadata.xml index cbcf02c9b38d..2c6e8b9f1117 100644 --- a/sys-devel/sparse/metadata.xml +++ b/sys-devel/sparse/metadata.xml @@ -5,4 +5,7 @@ <maintainer> <email>solar@gentoo.org</email> </maintainer> +<maintainer> + <email>vapier@gentoo.org</email> +</maintainer> </pkgmetadata> diff --git a/sys-devel/sparse/sparse-0.3-r1.ebuild b/sys-devel/sparse/sparse-0.3-r1.ebuild new file mode 100644 index 000000000000..20013f1f306a --- /dev/null +++ b/sys-devel/sparse/sparse-0.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-0.3-r1.ebuild,v 1.1 2007/08/02 23:00:54 vapier Exp $ + +inherit eutils multilib + +DESCRIPTION="C semantic parser" +HOMEPAGE="http://kernel.org/pub/linux/kernel/people/josh/sparse/" +SRC_URI="http://kernel.org/pub/linux/kernel/people/josh/sparse/dist/${P}.tar.gz" + +LICENSE="OSL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}" + epatch "${FILESDIR}"/${P}-makefile-fix.patch +} + +src_compile() { + emake CFLAGS="${CFLAGS} -fpic" LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "make install failed" + dodoc FAQ README +} |