USE_LIBTOOL instead of local patch

This commit is contained in:
Volker Stolz 2005-04-13 17:31:57 +00:00
parent 3233cdd00a
commit df4416fbe9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133259
2 changed files with 1 additions and 36 deletions

View file

@ -18,6 +18,7 @@ COMMENT= An embeddable scripting language
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
xml2.5:${PORTSDIR}/textproc/libxml2
USE_LIBTOOL_VER=15
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

View file

@ -1,36 +0,0 @@
$FreeBSD$
--- ltmain.sh.orig Wed Jan 9 08:46:56 2002
+++ ltmain.sh Wed Jan 9 12:09:50 2002
@@ -958,6 +958,7 @@
;;
-avoid-version)
+ build_old_libs=no
avoid_version=yes
continue
;;
@@ -2462,6 +2463,9 @@
*-*-openbsd* | *-*-freebsd*)
# Do not include libc due to us having libc/libc_r.
;;
+ *-*-freebsd*)
+ # FreeBSD doesn't need this...
+ ;;
*)
# Add libc to deplibs on all other systems if necessary.
if test $build_libtool_need_lc = "yes"; then
@@ -4247,10 +4251,12 @@
fi
# Install the pseudo-library for information purposes.
+ if /usr/bin/false; then
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
$run eval "$install_prog $instname $destdir/$name" || exit $?
+ fi
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"