From 93463c95c808931c67066e8cf0387dd941f5aa44 Mon Sep 17 00:00:00 2001
From: Joerg Wunsch <joerg@FreeBSD.org>
Date: Sat, 1 Apr 2006 19:50:54 +0000
Subject: Upgrade to binutils 2.16.1, and install the header files as well.

Submitted by:	thierry
---
 devel/gnulibiberty/Makefile  |  5 +++--
 devel/gnulibiberty/distinfo  |  6 +++---
 devel/gnulibiberty/pkg-plist | 16 ++++++++++++++--
 3 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/devel/gnulibiberty/Makefile b/devel/gnulibiberty/Makefile
index 4cbed489c3b6..94067492d111 100644
--- a/devel/gnulibiberty/Makefile
+++ b/devel/gnulibiberty/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gnulibiberty
-PORTVERSION=	2.16
+PORTVERSION=	2.16.1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEWARE}
 MASTER_SITE_SUBDIR=	binutils/releases
@@ -21,7 +21,8 @@ USE_BZIP2=	yes
 USE_GMAKE=	yes
 CONFIGURE_ARGS=	--enable-install-libiberty
 GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
-CONFLICTS=	freelibiberty-*
+CONFLICTS=	freelibiberty-[0-9]*
 
 .include <bsd.port.mk>
diff --git a/devel/gnulibiberty/distinfo b/devel/gnulibiberty/distinfo
index a8d9e40dfd23..03585c305a26 100644
--- a/devel/gnulibiberty/distinfo
+++ b/devel/gnulibiberty/distinfo
@@ -1,3 +1,3 @@
-MD5 (binutils-2.16.tar.bz2) = bcb9fabaf0eaf91bd38c4ee148658df8
-SHA256 (binutils-2.16.tar.bz2) = 5645c3371aac47cbbcc1354eab10ec32777837d7cb4ba47b94c9043612b12f36
-SIZE (binutils-2.16.tar.bz2) = 12514443
+MD5 (binutils-2.16.1.tar.bz2) = 6a9d529efb285071dad10e1f3d2b2967
+SHA256 (binutils-2.16.1.tar.bz2) = 351a6846ee179a37ed87a487971547159a7f4f92a1dec598c727f184a0de61ae
+SIZE (binutils-2.16.1.tar.bz2) = 12549917
diff --git a/devel/gnulibiberty/pkg-plist b/devel/gnulibiberty/pkg-plist
index ae2e24f0ea35..63bf4104b6e8 100644
--- a/devel/gnulibiberty/pkg-plist
+++ b/devel/gnulibiberty/pkg-plist
@@ -1,3 +1,15 @@
+include/libiberty/ansidecl.h
+include/libiberty/demangle.h
+include/libiberty/dyn-string.h
+include/libiberty/fibheap.h
+include/libiberty/floatformat.h
+include/libiberty/hashtab.h
+include/libiberty/libiberty.h
+include/libiberty/objalloc.h
+include/libiberty/partition.h
+include/libiberty/safe-ctype.h
+include/libiberty/sort.h
+include/libiberty/splay-tree.h
+include/libiberty/ternary.h
 lib/libiberty.a
-share/nls/POSIX
-share/nls/en_US.US-ASCII
+@dirrm include/libiberty
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0