From 2a14592aac0295cb9d52c9f90243d12497ee8581 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Mon, 5 Sep 2005 22:36:33 +0000 Subject: Update to libelf 0.8.6. In addition to the update in the PR, fix a build issue on FreeBSD 4.x, whose does not define ELFMAG and SELFMAG. PR: 85120 Submitted by: Vasil Dimov --- devel/libelf/files/patch-configure | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'devel/libelf/files/patch-configure') diff --git a/devel/libelf/files/patch-configure b/devel/libelf/files/patch-configure index e81a68b8b75f..d3853c7be889 100644 --- a/devel/libelf/files/patch-configure +++ b/devel/libelf/files/patch-configure @@ -1,18 +1,15 @@ - -$FreeBSD$ - ---- configure.old Sun Dec 14 14:11:54 2003 -+++ configure Sun Dec 14 14:13:28 2003 -@@ -1139,7 +1139,7 @@ +--- configure.orig Fri Aug 19 16:00:37 2005 ++++ configure Fri Aug 19 16:05:31 2005 +@@ -1142,7 +1142,7 @@ fi --for ac_hdr in unistd.h fcntl.h elf.h sys/elf.h link.h sys/link.h -+for ac_hdr in unistd.h fcntl.h sys/elf.h link.h sys/link.h +-for ac_hdr in unistd.h stdint.h fcntl.h ++for ac_hdr in unistd.h stdint.h fcntl.h elf.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -@@ -3055,7 +3055,7 @@ +@@ -3218,7 +3218,7 @@ fi case "$host" in @@ -21,12 +18,12 @@ $FreeBSD$ if test "$GCC" = yes; then -@@ -3112,13 +3112,12 @@ - then - SHLIB_SFX='-$(VERSION).so' - else -- SHLIB_SFX='.so.$(VERSION)' -+ SHLIB_SFX='.so.$(MAJOR)' +@@ -3273,13 +3273,12 @@ + PICFLAGS='-fPIC -DPIC' + if test "$mr_enable_gnu_names" = yes + then SHLIB_SFX='-$(VERSION).so' +- else SHLIB_SFX='.so.$(VERSION)' ++ else SHLIB_SFX='.so.$(MAJOR)' fi SHLINK_SFX='.so' SONAME_SFX='.so.$(MAJOR)' -- cgit v1.2.3