aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2005-03-07 18:09:29 +0000
committerKoop Mast <kwm@FreeBSD.org>2005-03-07 18:09:29 +0000
commitf1307b502c777bc0d22b5c373473fa1eab57f3be (patch)
tree1f67b60e61775d39b01344766bb8c6702192fd1e /devel
parent7e77089072371851b7a9dbabb54f0c30559c72c5 (diff)
downloadports-f1307b502c777bc0d22b5c373473fa1eab57f3be.tar.gz
ports-f1307b502c777bc0d22b5c373473fa1eab57f3be.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/libtool15/Makefile2
-rw-r--r--devel/libtool15/files/patch-ltmain.sh61
2 files changed, 55 insertions, 8 deletions
diff --git a/devel/libtool15/Makefile b/devel/libtool15/Makefile
index afb9cc880953..1cc18342a509 100644
--- a/devel/libtool15/Makefile
+++ b/devel/libtool15/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= libtool
PORTVERSION= 1.5.10
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libtool
diff --git a/devel/libtool15/files/patch-ltmain.sh b/devel/libtool15/files/patch-ltmain.sh
index 62eb47a4d9ca..7610f5e6d154 100644
--- a/devel/libtool15/files/patch-ltmain.sh
+++ b/devel/libtool15/files/patch-ltmain.sh
@@ -1,11 +1,17 @@
---- ltmain.sh.orig Sun Apr 11 05:44:45 2004
-+++ ltmain.sh Wed Jun 9 18:21:15 2004
-@@ -1358,3 +1358,3 @@
+--- ltmain.sh.orig Sun Sep 19 08:34:44 2004
++++ ltmain.sh Mon Mar 7 12:53:53 2005
+@@ -1477,7 +1477,7 @@
+ esac
+ elif test "X$arg" = "X-lc_r"; then
case $host in
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd* | *-*-freebsd4*)
# Do not include libc_r directly, use -pthread flag.
-@@ -1375,2 +1375,8 @@
+ continue
+ ;;
+@@ -1494,6 +1494,12 @@
+
+ -module)
module=yes
+ case $host in
+ *-*-freebsd*)
@@ -14,17 +20,56 @@
+ ;;
+ esac
continue
-@@ -1858,2 +1864,3 @@
+ ;;
+
+@@ -1977,6 +1983,7 @@
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
deplibs="$deplib $deplibs"
+ test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
fi
-@@ -4409,2 +4416,5 @@
+ continue
+ ;;
+@@ -3084,7 +3091,7 @@
+
+ # Check that each of the things are valid numbers.
+ case $current in
+- 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
++ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -3093,7 +3100,7 @@
+ esac
+
+ case $revision in
+- 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
++ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -3102,7 +3109,7 @@
+ esac
+
+ case $age in
+- 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
++ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+@@ -4442,6 +4449,9 @@
+ compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
+ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
;;
+ *-*-freebsd*)
+ # FreeBSD doesn't need this...
+ ;;
*)
-@@ -5549,6 +5559,13 @@
+ $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
+ exit $EXIT_FAILURE
+@@ -5527,10 +5537,17 @@
+ fi
+
# Install the pseudo-library for information purposes.
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
@@ -42,3 +87,5 @@
+ ;;
+ esac
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"