Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  1 Apr 2006 17:00:01 +0200 (CEST)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Joerg Wunsch <joerg@FreeBSD.org>
Subject:   ports/95199: devel/gnulibiberty: upgrade to 2.16.1 and install headers.
Message-ID:  <20060401150001.D938211475@graf.pompo.net>
Resent-Message-ID: <200604011500.k31F0N6P042980@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95199
>Category:       ports
>Synopsis:       devel/gnulibiberty: upgrade to 2.16.1 and install headers.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 01 15:00:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Fri Mar 17 22:38:26 CET 2006 thierry@graf.pompo.net:/usr/obj/usr/src/sys/GRAF060317 i386


	
>Description:
	This PR update gnulibiberty to 2.16.1, and install headers
	required by OpenFOAM-1.3.

>How-To-Repeat:
	'CONFIGURE_ARGS= --enable-install-libiberty' should be sufficient
	to install headers, but no headers are installed.

>Fix:
	Please apply the following patch:

--- gnulibiberty.diff begins here ---
diff -urN devel/gnulibiberty.orig/Makefile devel/gnulibiberty/Makefile
--- devel/gnulibiberty.orig/Makefile	Thu Feb 23 21:07:57 2006
+++ devel/gnulibiberty/Makefile	Fri Mar 31 13:53:53 2006
@@ -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_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 -urN devel/gnulibiberty.orig/distinfo devel/gnulibiberty/distinfo
--- devel/gnulibiberty.orig/distinfo	Tue Jan 31 20:45:29 2006
+++ devel/gnulibiberty/distinfo	Fri Mar 31 00:31:13 2006
@@ -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 -urN devel/gnulibiberty.orig/files/patch-configure devel/gnulibiberty/files/patch-configure
--- devel/gnulibiberty.orig/files/patch-configure	Thu Jan  1 01:00:00 1970
+++ devel/gnulibiberty/files/patch-configure	Fri Mar 31 13:44:36 2006
@@ -0,0 +1,32 @@
+--- configure.orig	Sun Mar  6 19:48:16 2005
++++ configure	Fri Mar 31 13:44:10 2006
+@@ -5103,6 +5103,14 @@
+ 
+   fi
+ 
++
++else
++
++   # Not a target library, so we set things up to run the test suite.
++   CHECK=check-cplus-dem
++
++fi
++
+   # We may wish to install the target headers somewhere.
+   # Check whether --enable-install-libiberty or --disable-install-libiberty was given.
+ if test "${enable_install_libiberty+set}" = set; then
+@@ -5124,14 +5132,6 @@
+       target_header_dir="${enable_install_libiberty}"
+       ;;
+   esac
+-
+-
+-else
+-
+-   # Not a target library, so we set things up to run the test suite.
+-   CHECK=check-cplus-dem
+-
+-fi
+ 
+ 
+ 
diff -urN devel/gnulibiberty.orig/pkg-plist devel/gnulibiberty/pkg-plist
--- devel/gnulibiberty.orig/pkg-plist	Sun Apr 24 15:31:10 2005
+++ devel/gnulibiberty/pkg-plist	Fri Mar 31 13:54:08 2006
@@ -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
--- gnulibiberty.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060401150001.D938211475>