summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-11-18 17:16:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-11-18 17:16:38 +0000
commita169663129c1bcb25f636a20de4420fbc7ea4a3d (patch)
tree797df84fb5ec172580098cebd4a7e88ed5daf8ed /dev-libs
parentVersion bump. Fix underlinking issue (bug #369879). Respect CFLAGS (no -g or ... (diff)
downloadhistorical-a169663129c1bcb25f636a20de4420fbc7ea4a3d.tar.gz
historical-a169663129c1bcb25f636a20de4420fbc7ea4a3d.tar.bz2
historical-a169663129c1bcb25f636a20de4420fbc7ea4a3d.zip
Version bump wrt #376487 by Agostino Sarubbo
Package-Manager: portage-2.2.0_alpha73/cvs/Linux x86_64
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libbsd/ChangeLog7
-rw-r--r--dev-libs/libbsd/Manifest16
-rw-r--r--dev-libs/libbsd/libbsd-0.3.0.ebuild56
3 files changed, 73 insertions, 6 deletions
diff --git a/dev-libs/libbsd/ChangeLog b/dev-libs/libbsd/ChangeLog
index 5c17effa6344..8fc3711395a0 100644
--- a/dev-libs/libbsd/ChangeLog
+++ b/dev-libs/libbsd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libbsd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/ChangeLog,v 1.3 2011/10/24 20:21:18 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/ChangeLog,v 1.4 2011/11/18 17:16:38 ssuominen Exp $
+
+*libbsd-0.3.0 (18 Nov 2011)
+
+ 18 Nov 2011; Samuli Suominen <ssuominen@gentoo.org> +libbsd-0.3.0.ebuild:
+ Version bump wrt #376487 by Agostino Sarubbo
24 Oct 2011; Markus Meier <maekke@gentoo.org> libbsd-0.2.0.ebuild:
x86 stable, bug #387929
diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest
index 99fac5ffeb7b..6234192486d1 100644
--- a/dev-libs/libbsd/Manifest
+++ b/dev-libs/libbsd/Manifest
@@ -4,13 +4,19 @@ Hash: SHA1
AUX libbsd-0.2.0-arc4random-prototypes.patch 441 RMD160 2b82340b4b97615e97c58298b488b79353d31af5 SHA1 7102fa9bebb57e9b087c5853dc300004e80e0edc SHA256 0e7010d1221f920c3fb7e602e290721d3ef540b8ba3da70d57085f303374da72
AUX libbsd-0.2.0-move-nlist.patch 300 RMD160 294d9f532b6ba26ffb8556f0726b7cc7f6bf3f0b SHA1 717f58375dd03d2129c236974950cd040d2f23d6 SHA256 66b08838c41c7d008ca8d8f4c1e6964108203f37e013b35bfa147363e8ab1696
DIST libbsd-0.2.0.tar.gz 81824 RMD160 e0038f00313ab07e7185ce180bcd3e624b0c7d97 SHA1 048f8522d15df9f160c17e43a45485bcd617bb0d SHA256 5c7920d4d3d0e253f4698b42b7b67130295d59df61c5a0e04e2d1787d543f0f1
+DIST libbsd-0.3.0.tar.gz 102409 RMD160 bb7aeecafcfc9a9ad250df45e5381e26b558b366 SHA1 cb294a6123fb1dd173369144adfcaccb278db310 SHA256 fbf36ed40443e1d0d795adbae8d461952509e610c3ccf0866ae160b723f7fe38
EBUILD libbsd-0.2.0.ebuild 2284 RMD160 8cdd013a2f787859eca6feb4d742fefd797d4e28 SHA1 923cf0d3f3b13cae2ff9199e5be06f356ea1a338 SHA256 17f8f2af6b076cd83ccf466307c0798072703f67132b76f5d623e416d4187216
-MISC ChangeLog 677 RMD160 5f1ecf236e02c011725cd9f0360bfa3f24675f28 SHA1 ed6c3e120e875172cafdd6bdbfaf99529c36e784 SHA256 52c79a2aff0f0534d7a3d6f839f7d9c892c9c473a29687d440bc22a777e62030
+EBUILD libbsd-0.3.0.ebuild 1439 RMD160 a605cbcb3621b5bd87df63be1b313f886afdb3e8 SHA1 40d275e95a712a37ba8d093a4c861cb60b0d54b2 SHA256 a2a2b5c94541d471f5fc42ac5cb725e07d52ce7ef36e7ee01a70fca1a4cfd037
+MISC ChangeLog 833 RMD160 ce5de65a16d02263581bd47c1957f3b732af571c SHA1 a42eda7ad3280d6fdd13e9f497e3f021558f69fd SHA256 adda4b23d3ad987369f735b29cb8c33b852616760a602dbed5d4b20171b3f61b
MISC metadata.xml 240 RMD160 713d3623652101622b49354e4c59a1a5680c82fd SHA1 a92d39f5c18398cebde670999410dc3c8b0f8cd7 SHA256 21f11bb88b4833cd095d586f1e5fc5594dbc3b1270d8b1fbb309b4333efb7534
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk6lyQkACgkQkKaRLQcq0GINMgCfYF7ORwq4MbP12Y/ci+pAeIo2
-cEYAoInplMGEQ7Kyw26KS1sw3wAFt7l+
-=QErT
+iQEcBAEBAgAGBQJOxpKXAAoJEEdUh39IaPFNJh4H/3nuCuuQeSKBtdv/BwjV9yi3
+VEcpdGhkKpefY/SAe7I2QFBZZLUT7Py9j5fCgdDhJ+fGgRT04wSO+BBFIx6MRzmc
+U0b2mMqRlfb2o6nZiON0sTh6uYrg8gYPFaCZKU61/GZOomjVBkrK5FNwzIAA4Ym2
+NMV7MXe9RHuI13QyQFS0eQougIDzcLWsNsA6opJSYN7tNbBO3rHfU69X8jII7w5H
+PiVJGii7PPFSYH1eCluMfUn/x69F0wHEiB13i/cSuhJPOq8tbOUWwqZfk2WHClVQ
+yXz0aw6SwnQizXa+6IZP5cLds0tTazuy1McsE3aGzVvQ7BpjN2D53fSZtB4fMjY=
+=jtNb
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libbsd/libbsd-0.3.0.ebuild b/dev-libs/libbsd/libbsd-0.3.0.ebuild
new file mode 100644
index 000000000000..9237d6b9ccd0
--- /dev/null
+++ b/dev-libs/libbsd/libbsd-0.3.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libbsd/libbsd-0.3.0.ebuild,v 1.1 2011/11/18 17:16:38 ssuominen Exp $
+
+EAPI=4
+inherit multilib toolchain-funcs
+
+DESCRIPTION="A BSD compatibility library"
+HOMEPAGE="http://libbsd.freedesktop.org/wiki/"
+SRC_URI="http://libbsd.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="BSD BSD-2 BSD-4 ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+pkg_setup() {
+ mylibbsdconf=(
+ AR="$(tc-getAR)"
+ CC="$(tc-getCC)"
+ libdir=/usr/$(get_libdir)
+ usrlibdir=/usr/$(get_libdir)
+ )
+
+ local f="${ROOT}"usr/$(get_libdir)/libbsd.a
+ if ! has_version dev-libs/libbsd; then
+ if [[ -e ${f} ]]; then
+ eerror "You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
+ die "You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
+ fi
+ fi
+}
+
+src_prepare() {
+ # Instead of replacing upstream warning flags, append to them
+ sed -i -e 's:CFLAGS ?= -g:CFLAGS +=:' Makefile || die
+
+ if ! use static-libs; then
+ sed -i \
+ -e '/^libs/s:$(LIB_STATIC)::' \
+ -e 's:install -m644 $(LIB_STATIC):-&:' \
+ Makefile || die
+ fi
+}
+
+src_compile() {
+ emake "${mylibbsdconf[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" "${mylibbsdconf[@]}" install
+ dodoc ChangeLog README TODO
+
+ # Fix file collision with dev-libs/elfutils by removing deprecated include
+ rm -f "${ED}"usr/include/nlist.h
+}