summaryrefslogtreecommitdiff
path: root/devel/libtool14
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-05-02 07:49:56 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-05-02 07:49:56 +0000
commitab99cf22d5e449b6880f9eb78e7f1129f1a54c4a (patch)
treec23f8e19515066aa9c3dd3eaeb06a46c3e13d4ec /devel/libtool14
parentAllow overwrite of Maintainer by slave-ports (diff)
Set EXPR_COMPAT environment variable to workaround a problem with expr(1)
on -current.
Diffstat (limited to 'devel/libtool14')
-rw-r--r--devel/libtool14/Makefile2
-rw-r--r--devel/libtool14/files/patch-ad43
2 files changed, 29 insertions, 16 deletions
diff --git a/devel/libtool14/Makefile b/devel/libtool14/Makefile
index 432bfb28f708..824bcceb77bf 100644
--- a/devel/libtool14/Makefile
+++ b/devel/libtool14/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libtool
PORTVERSION= 1.3.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libtool
diff --git a/devel/libtool14/files/patch-ad b/devel/libtool14/files/patch-ad
index 2aed241fd3e0..3ec71700ffbb 100644
--- a/devel/libtool14/files/patch-ad
+++ b/devel/libtool14/files/patch-ad
@@ -1,6 +1,19 @@
---- ltmain.sh.orig Tue Dec 7 13:50:49 1999
-+++ ltmain.sh Mon Jan 17 16:33:06 2000
-@@ -54,7 +54,7 @@
+
+$FreeBSD$
+
+--- ltmain.sh.orig Tue Dec 7 23:50:49 1999
++++ ltmain.sh Thu May 2 10:24:05 2002
+@@ -23,6 +23,9 @@
+ # configuration script generated by Autoconf, you may include it under
+ # the same distribution terms that you use for the rest of that program.
+
++EXPR_COMPAT=1
++export EXPR_COMPAT
++
+ # Check that we have a working $echo.
+ if test "X$1" = X--no-reexec; then
+ # Discard the --no-reexec flag, and continue.
+@@ -54,7 +57,7 @@
# Constants.
PROGRAM=ltmain.sh
PACKAGE=libtool
@@ -9,7 +22,7 @@
TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)"
default_mode=
-@@ -952,7 +952,11 @@
+@@ -952,7 +955,11 @@
continue
;;
release)
@@ -22,7 +35,7 @@
prev=
continue
;;
-@@ -1005,6 +1009,7 @@
+@@ -1005,6 +1012,7 @@
;;
-avoid-version)
@@ -30,7 +43,7 @@
avoid_version=yes
continue
;;
-@@ -1091,6 +1096,10 @@
+@@ -1091,6 +1099,10 @@
deplibs="$deplibs $arg"
;;
@@ -41,7 +54,7 @@
-module)
module=yes
continue
-@@ -1168,7 +1177,7 @@
+@@ -1168,7 +1180,7 @@
*.o | *.obj | *.a | *.lib)
# A standard object.
@@ -50,7 +63,7 @@
;;
*.lo)
-@@ -1603,12 +1612,6 @@
+@@ -1603,12 +1615,6 @@
exit 1
fi
@@ -63,7 +76,7 @@
if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
$echo "$modename: warning: \`-dlopen' is ignored for libtool libraries" 1>&2
fi
-@@ -1795,6 +1798,9 @@
+@@ -1795,6 +1801,9 @@
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
# these systems don't actually have a c library (as such)!
;;
@@ -73,7 +86,7 @@
*)
# Add libc to deplibs on all other systems.
deplibs="$deplibs -lc"
-@@ -1802,6 +1808,94 @@
+@@ -1802,6 +1811,94 @@
esac
fi
@@ -168,7 +181,7 @@
# Create the output directory, or remove our outputs if we need to.
if test -d $output_objdir; then
$show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
-@@ -1817,7 +1911,11 @@
+@@ -1817,7 +1914,11 @@
# Now set the variables for building old libraries.
if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
@@ -181,7 +194,7 @@
# Transform .lo files to .o files.
oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
-@@ -2011,7 +2109,11 @@
+@@ -2011,7 +2112,11 @@
echo "*** \`nm' from GNU binutils and a full rebuild may help."
fi
if test "$build_old_libs" = no; then
@@ -194,7 +207,7 @@
build_libtool_libs=module
build_old_libs=yes
else
-@@ -3059,7 +3161,11 @@
+@@ -3059,7 +3164,11 @@
case "$output" in
*.la)
old_library=
@@ -207,7 +220,7 @@
$show "creating $output"
if test -n "$xrpath"; then
-@@ -3348,10 +3454,12 @@
+@@ -3348,10 +3457,12 @@
fi
# Install the pseudo-library for information purposes.
@@ -224,7 +237,7 @@
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
-@@ -3440,7 +3548,6 @@
+@@ -3440,7 +3551,6 @@
fi
libfile="$libdir/`$echo "X$lib" | $Xsed -e 's%^.*/%%g'`"
if test -n "$libdir" && test ! -f "$libfile"; then