summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-16 22:21:09 +0000
committerMike Frysinger <vapier@gentoo.org>2008-02-16 22:21:09 +0000
commit7aa1a76803b0af832020827ace13d97e26eb089b (patch)
treee23bfb582b9b783f7b8954998fecb6e0ebe7a00b /sys-libs/gdbm
parentVersion bump. (diff)
downloadhistorical-7aa1a76803b0af832020827ace13d97e26eb089b.tar.gz
historical-7aa1a76803b0af832020827ace13d97e26eb089b.tar.bz2
historical-7aa1a76803b0af832020827ace13d97e26eb089b.zip
Respect user LDFLAGS #209730 by Diego.
Package-Manager: portage-2.2_pre2
Diffstat (limited to 'sys-libs/gdbm')
-rw-r--r--sys-libs/gdbm/ChangeLog6
-rw-r--r--sys-libs/gdbm/Manifest15
-rw-r--r--sys-libs/gdbm/files/gdbm-1.8.3-build.patch21
-rw-r--r--sys-libs/gdbm/gdbm-1.8.3-r4.ebuild9
4 files changed, 46 insertions, 5 deletions
diff --git a/sys-libs/gdbm/ChangeLog b/sys-libs/gdbm/ChangeLog
index d8af82fd467a..5c111e0ec650 100644
--- a/sys-libs/gdbm/ChangeLog
+++ b/sys-libs/gdbm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/gdbm
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.42 2008/01/26 10:20:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.43 2008/02/16 22:21:08 vapier Exp $
+
+ 16 Feb 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/gdbm-1.8.3-build.patch, gdbm-1.8.3-r4.ebuild:
+ Respect user LDFLAGS #209730 by Diego.
*gdbm-1.8.3-r4 (26 Jan 2008)
diff --git a/sys-libs/gdbm/Manifest b/sys-libs/gdbm/Manifest
index 7dc1ae33ca40..2b2f4955a723 100644
--- a/sys-libs/gdbm/Manifest
+++ b/sys-libs/gdbm/Manifest
@@ -1,7 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX gdbm-1.8.3-build.patch 691 RMD160 dc3263c4d96121298353d5957dc71e351bb0e124 SHA1 ef3635a5f9b05fe32ad7e8b61308a60a350d1fd0 SHA256 be5b2a90e85bdfd1c2e24937510f303ed06def19ba074be502a9edc9c3eff4ca
AUX gdbm-1.8.3-compat-linking.patch 611 RMD160 f144f776f38acb1ea046009b2de0376b5149edb9 SHA1 b8fa52996a9eb24b818b427b5137397b091dcc07 SHA256 832cfffff5d1cb26cf3f2618014e8e1ff4d30153f34abda8db074788abef7dac
AUX gdbm-1.8.3-fix-install-ownership.patch 1567 RMD160 e058ffe36f57dd421ac70bdbb4ed64cd1e641aa6 SHA1 efdbd776a434ccfd885e2f505e8cb2f8e54f5887 SHA256 e08df8b252176475c47615fbe87e554fc7391b29192131aba03e91f687a8076c
DIST gdbm-1.8.3.tar.gz 228695 RMD160 0f5741ab32f95db721c5d9f4548447301171e938 SHA1 a0296b1986a99cb9ec0dc3b17ea99aec76e9b760 SHA256 cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9
EBUILD gdbm-1.8.3-r3.ebuild 1173 RMD160 6c1736bd2ea12da97361310253235383a1d49c4d SHA1 7514bb11006d04731c15a97f8d65dcf9bb859c82 SHA256 29ce66e08484653fb9673d4950f7a7ef3473df60c8c6e64da2065a19dda1e86c
-EBUILD gdbm-1.8.3-r4.ebuild 1207 RMD160 1ee80b2fb7633e636c42a9f89bb8e404532cec7b SHA1 2c60781eb83d964b2a66ecd197aee2f795509569 SHA256 1c1f0dfecadd014f20de7e15c0a0273c61db1bb1604653a8465eaa5eb7810c81
-MISC ChangeLog 5760 RMD160 5f050f7e055642e9c08879b81c7c83b36412c994 SHA1 de6c8e902c34a716ff7a2d2f05b0a10165ca25d1 SHA256 7ee9aabcf15f710e8ca6262b59652fa47c7292f8af97f820da5ce96e326c253f
+EBUILD gdbm-1.8.3-r4.ebuild 1322 RMD160 96ee35e92942346751fb0e1e881306372bd5bb5e SHA1 8a869870c026991e650d62d58dc3a7b15dba3ced SHA256 3f3d75ba20dd4d14a12aeb5a697b826199b70f0ba345fa47dcd8539375bef3c0
+MISC ChangeLog 5907 RMD160 ca0e7ecdf6fa554ea3a8a0c6aa4c746ab28466a2 SHA1 f27d2840ee1f8cc60a0615bc033cfb9f2545d5a5 SHA256 db05cea1209a5283760490870dfd7328a35b92fb157b964ca61c6f4dc814d8f8
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHt2Haj9hvisErhMIRAl74AJ9gIuhG0ghv9/4AuQZtPamCXbtocwCg0DjV
+R99uFm8djp4oiaXLUXu1Z7I=
+=7ud7
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/gdbm/files/gdbm-1.8.3-build.patch b/sys-libs/gdbm/files/gdbm-1.8.3-build.patch
new file mode 100644
index 000000000000..084f5a1d247a
--- /dev/null
+++ b/sys-libs/gdbm/files/gdbm-1.8.3-build.patch
@@ -0,0 +1,21 @@
+Respect system LDFLAGS when generating gdbm libs
+
+http://bugs.gentoo.org/209730
+
+--- Makefile.in
++++ Makefile.in
+@@ -146,12 +146,12 @@
+
+ libgdbm.la: $(LOBJS) gdbm.h
+ rm -f libgdbm.la
+- $(LIBTOOL) --mode=link $(CC) -o libgdbm.la -rpath $(libdir) \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libgdbm.la -rpath $(libdir) \
+ -version-info $(SHLIB_VER) $(LOBJS)
+
+ libgdbm_compat.la: $(C_LOBJS) gdbm.h libgdbm.la
+ rm -f libgdbm_compat.la
+- $(LIBTOOL) --mode=link $(CC) -o libgdbm_compat.la -rpath $(libdir) \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libgdbm_compat.la -rpath $(libdir) \
+ -version-info $(SHLIB_VER) $(C_LOBJS) libgdbm.la
+
+ gdbm.h: gdbm.proto gdbmerrno.h gdbm.proto2
diff --git a/sys-libs/gdbm/gdbm-1.8.3-r4.ebuild b/sys-libs/gdbm/gdbm-1.8.3-r4.ebuild
index e72e7dd415c3..4f7949bcbda2 100644
--- a/sys-libs/gdbm/gdbm-1.8.3-r4.ebuild
+++ b/sys-libs/gdbm/gdbm-1.8.3-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.8.3-r4.ebuild,v 1.1 2008/01/26 10:20:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.8.3-r4.ebuild,v 1.2 2008/02/16 22:21:08 vapier Exp $
inherit eutils libtool flag-o-matic
@@ -20,13 +20,18 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-fix-install-ownership.patch #24178
epatch "${FILESDIR}"/${P}-compat-linking.patch #165263
+ epatch "${FILESDIR}"/${P}-build.patch #209730
elibtoolize
append-lfs-flags
}
src_compile() {
use berkdb || export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no
- econf --includedir=/usr/include/gdbm || die
+ econf \
+ --includedir=/usr/include/gdbm \
+ --disable-dependency-tracking \
+ --enable-fast-install \
+ || die
emake || die
}