diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-07-26 13:25:37 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-07-26 13:25:37 +0000 |
commit | 4c236dd0eccf7f1dd4ee47bdb2556243c68cd078 (patch) | |
tree | 8b709c7a774ec1ef73a07419842b47fc8d6eaaec /databases/libgda2/files | |
parent | 62a409976ca92f72fa02b769781ef382f4132783 (diff) | |
download | FreeBSD-ports-4c236dd0eccf7f1dd4ee47bdb2556243c68cd078.zip FreeBSD-ports-4c236dd0eccf7f1dd4ee47bdb2556243c68cd078.tar.gz |
- Fix a silly GNUism in the configure script (`==' instead of `='), that
results in perl module not being built;
- remove useless USE_LIBTOOL.
Diffstat (limited to 'databases/libgda2/files')
-rw-r--r-- | databases/libgda2/files/patch-configure | 72 | ||||
-rw-r--r-- | databases/libgda2/files/patch-ltmain.sh | 18 |
2 files changed, 51 insertions, 39 deletions
diff --git a/databases/libgda2/files/patch-configure b/databases/libgda2/files/patch-configure index 71c871b..29982c3 100644 --- a/databases/libgda2/files/patch-configure +++ b/databases/libgda2/files/patch-configure @@ -1,62 +1,56 @@ ---- configure.orig Wed Jun 13 18:45:10 2001 -+++ configure Tue Jun 19 00:39:40 2001 -@@ -5389,4 +5389,19 @@ + +$FreeBSD$ + +--- configure.orig Thu Jul 26 15:51:10 2001 ++++ configure Thu Jul 26 16:09:53 2001 +@@ -6238,7 +6240,7 @@ -- -- -+# Actually configure libtool. ac_aux_dir is where install-sh is found. -+CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ -+LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ -+LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ -+DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ -+${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ -+$libtool_flags $ac_aux_dir/ltmain.sh $lt_target \ -+|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; } -+ -+# Reload cache, that may have been modified by ltconfig -+if test -r "$cache_file"; then -+ echo "loading cache $cache_file" -+ . $cache_file -+else -+ echo "creating cache $cache_file" -+ > $cache_file -+fi -@@ -5394,3 +5409,3 @@ - # This can be used to rebuild libtool when needed --LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" -@@ -5399,2 +5414,7 @@ - -+# Redirect the config.log output again, so that the ltconfig log is not -+# clobbered by the next message. -+exec 5>>./config.log -+ -+ - # Prevent multiple expansion -@@ -7911,3 +7931,3 @@ +-if test $perl_val == true; then ++if test $perl_val = true; then + WITH_PERL_TRUE= + WITH_PERL_FALSE='#' + else +@@ -7909,7 +7911,7 @@ + #line 7910 "configure" + #include "confdefs.h" #include <stdlib.h> -#include <iconv.h> +#include <giconv.h> int main() { -@@ -7928,3 +7948,3 @@ + iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); +@@ -7926,12 +7928,12 @@ + rm -f conftest* + if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" - LIBS="$LIBS -liconv" + LIBS="$LIBS -lgiconv" cat > conftest.$ac_ext <<EOF -@@ -7933,3 +7953,3 @@ + #line 7932 "configure" + #include "confdefs.h" #include <stdlib.h> -#include <iconv.h> +#include <giconv.h> int main() { -@@ -7971,3 +7991,3 @@ + iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); +@@ -7969,7 +7971,7 @@ + #include "confdefs.h" + #include <stdlib.h> -#include <iconv.h> +#include <giconv.h> extern -@@ -8009,3 +8029,3 @@ + #ifdef __cplusplus + "C" +@@ -8007,7 +8009,7 @@ + fi + LIBICONV= if test "$am_cv_lib_iconv" = yes; then - LIBICONV="-liconv" + LIBICONV="-lgiconv" fi + + diff --git a/databases/libgda2/files/patch-ltmain.sh b/databases/libgda2/files/patch-ltmain.sh new file mode 100644 index 0000000..0c59421 --- /dev/null +++ b/databases/libgda2/files/patch-ltmain.sh @@ -0,0 +1,18 @@ + +$FreeBSD$ + +--- ltmain.sh 2001/07/23 09:45:58 1.1 ++++ ltmain.sh 2001/07/23 09:46:28 +@@ -4175,10 +4175,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if 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" |