summaryrefslogtreecommitdiff
path: root/devel/libelf/files/patch-configure
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2005-09-05 22:36:33 +0000
committerPeter Pentchev <roam@FreeBSD.org>2005-09-05 22:36:33 +0000
commit2a14592aac0295cb9d52c9f90243d12497ee8581 (patch)
tree75bed12ad30ba8a771c71a8649f2d75154fcc101 /devel/libelf/files/patch-configure
parentUpdate to 20050821 (diff)
Update to libelf 0.8.6. In addition to the update in the PR, fix a build
issue on FreeBSD 4.x, whose <elf.h> does not define ELFMAG and SELFMAG. PR: 85120 Submitted by: Vasil Dimov <vd@datamax.bg>
Notes
Notes: svn path=/head/; revision=142035
Diffstat (limited to 'devel/libelf/files/patch-configure')
-rw-r--r--devel/libelf/files/patch-configure27
1 files changed, 12 insertions, 15 deletions
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)'