summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2005-10-08 11:53:38 +0000
committerSimon Stelling <blubb@gentoo.org>2005-10-08 11:53:38 +0000
commit7f7d907e8f0100de846bf3bfdcd2888410056be1 (patch)
treef2c31b6923fc0dc7b1a89e82b44850292d7a148a /dev-libs/libnl
parentFixed sse compile error issue. Bug 108460. (diff)
downloadgentoo-2-7f7d907e8f0100de846bf3bfdcd2888410056be1.tar.gz
gentoo-2-7f7d907e8f0100de846bf3bfdcd2888410056be1.tar.bz2
gentoo-2-7f7d907e8f0100de846bf3bfdcd2888410056be1.zip
keyword ~amd64 and make multilib-strict happy
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'dev-libs/libnl')
-rw-r--r--dev-libs/libnl/ChangeLog6
-rw-r--r--dev-libs/libnl/files/libnl-0.5.0-libdir.patch30
-rw-r--r--dev-libs/libnl/libnl-0.5.0.ebuild10
3 files changed, 41 insertions, 5 deletions
diff --git a/dev-libs/libnl/ChangeLog b/dev-libs/libnl/ChangeLog
index 0d7e754b7476..15302e27459a 100644
--- a/dev-libs/libnl/ChangeLog
+++ b/dev-libs/libnl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libnl
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.3 2005/09/18 15:39:24 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.4 2005/10/08 11:53:38 blubb Exp $
+
+ 08 Oct 2005; Simon Stelling <blubb@gentoo.org>
+ +files/libnl-0.5.0-libdir.patch, libnl-0.5.0.ebuild:
+ keyword ~amd64 and make multilib-strict happy
18 Sep 2005; Tobias Scherbaum <dertobi123@gentoo.org> libnl-0.5.0.ebuild:
Added ~ppc Keyword
diff --git a/dev-libs/libnl/files/libnl-0.5.0-libdir.patch b/dev-libs/libnl/files/libnl-0.5.0-libdir.patch
new file mode 100644
index 000000000000..e9200ff54e02
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-0.5.0-libdir.patch
@@ -0,0 +1,30 @@
+--- lib/Makefile 2005-04-05 01:08:04.000000000 +0200
++++ lib/Makefile 2005-10-08 13:15:52.000000000 +0200
+@@ -22,6 +22,8 @@
+ include ../Makefile.opts
+ endif
+
++LIBDIR=$(prefix)/lib
++
+ # Core
+ CIN := $(wildcard *.c)
+ # NETLINK_ROUTE
+@@ -67,12 +69,12 @@
+ find .deps -iname \*\.d -exec rm -f '{}' \;
+
+ install:
+- mkdir -p $(DESTDIR)$(prefix)/lib/
+- install -o root -g root -m 0644 $(OUT_SLIB) $(DESTDIR)$(prefix)/lib
+- rm -f $(DESTDIR)$(prefix)/lib/$(LN1_SLIB) ; \
+- $(LN) -s $(DESTDIR)$(prefix)/lib/$(OUT_SLIB) $(DESTDIR)$(prefix)/lib/$(LN1_SLIB)
+- rm -f $(DESTDIR)$(prefix)/lib/$(LN_SLIB) ; \
+- $(LN) -s $(DESTDIR)$(prefix)/lib/$(LN1_SLIB) $(DESTDIR)$(prefix)/lib/$(LN_SLIB)
++ mkdir -p $(DESTDIR)$(LIBDIR)/
++ install -o root -g root -m 0644 $(OUT_SLIB) $(DESTDIR)$(LIBDIR)
++ rm -f $(DESTDIR)$(LIBDIR)/$(LN1_SLIB) ; \
++ $(LN) -s $(DESTDIR)$(LIBDIR)/$(OUT_SLIB) $(DESTDIR)$(LIBDIR)/$(LN1_SLIB)
++ rm -f $(DESTDIR)$(LIBDIR)/$(LN_SLIB) ; \
++ $(LN) -s $(DESTDIR)$(LIBDIR)/$(LN1_SLIB) $(DESTDIR)$(LIBDIR)/$(LN_SLIB)
+
+ $(DEPS): ../Makefile.opts
+
diff --git a/dev-libs/libnl/libnl-0.5.0.ebuild b/dev-libs/libnl/libnl-0.5.0.ebuild
index cb6844bf4f70..b4c9e52bc74d 100644
--- a/dev-libs/libnl/libnl-0.5.0.ebuild
+++ b/dev-libs/libnl/libnl-0.5.0.ebuild
@@ -1,22 +1,24 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-0.5.0.ebuild,v 1.3 2005/09/18 15:39:24 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-0.5.0.ebuild,v 1.4 2005/10/08 11:53:38 blubb Exp $
-inherit eutils
+inherit eutils multilib
DESCRIPTION="A library for applications dealing with netlink socket"
HOMEPAGE="http://people.suug.ch/~tgr/libnl/"
SRC_URI="http://people.suug.ch/~tgr/libnl/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
src_unpack() {
unpack ${A}
+ cd ${S}
epatch "${FILESDIR}/${P}-include.diff"
+ epatch ${FILESDIR}/${P}-libdir.patch
}
src_install() {
- make DESTDIR="${D}" install || die
+ make DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die
}