Fix build on FreeBSD 5.

PR:		47321
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Adam Weinberger 2003-01-28 06:00:34 +00:00
parent 8c24200a6e
commit 5365f1dbc7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74121
3 changed files with 13 additions and 14 deletions

View file

@ -20,7 +20,9 @@ USE_PERL5= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_AUTOCONF_VER= 253
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LIBTOOL= yes
LIBTOOLFLAGS= # none
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CONFIG_SHELL="${SH}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

View file

@ -0,0 +1,10 @@
--- aclocal.m4.orig Mon Jan 27 21:52:25 2003
+++ aclocal.m4 Mon Jan 27 21:52:56 2003
@@ -164,6 +164,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View file

@ -1,13 +0,0 @@
$FreeBSD$
--- config/ltmain.sh.orig Sun Jul 14 01:53:50 2002
+++ config/ltmain.sh Tue Aug 13 18:00:19 2002
@@ -967,6 +967,7 @@
;;
-avoid-version)
+ build_old_libs=no
avoid_version=yes
continue
;;