diff options
Diffstat (limited to 'graphics/imlib/files/patch-configure')
-rw-r--r-- | graphics/imlib/files/patch-configure | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/graphics/imlib/files/patch-configure b/graphics/imlib/files/patch-configure new file mode 100644 index 000000000000..3706521df0a7 --- /dev/null +++ b/graphics/imlib/files/patch-configure @@ -0,0 +1,53 @@ +--- configure.orig Thu Feb 15 03:29:17 2001 ++++ configure Thu Mar 22 15:02:05 2001 +@@ -1456,8 +1456,8 @@ + 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 --no-verify $ac_aux_dir/ltmain.sh $host \ ++${CONFIG_SHELL-/bin/sh} /usr/local/share/libtool/ltconfig --no-reexec \ ++$libtool_flags --no-verify --disable-ltlibs /usr/local/share/libtool/ltmain.sh $host \ + || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } + + # Reload cache, that may have been modified by ltconfig +@@ -1471,7 +1471,7 @@ + + + # This can be used to rebuild libtool when needed +-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" ++LIBTOOL_DEPS="/usr/local/share/libtool/ltconfig --disable-ltlibs /usr/local/share/libtool/ltmain.sh" + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -2034,8 +2034,8 @@ + if test "x$GDK_IMLIB" != x; then + oLIBS="$LIBS" + oCFLAGS="$CFLAGS" +- LIBS="$LIBS `glib-config --libs gmodule`" +- CFLAGS="$CFLAGS `glib-config --cflags gmodule`" ++ LIBS="$LIBS `${GLIB_CONFIG} --libs gmodule`" ++ CFLAGS="$CFLAGS `${GLIB_CONFIG} --cflags gmodule`" + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } + else +@@ -2085,8 +2085,8 @@ + #define USE_GMODULE 1 + EOF + +- GMODULE_LIBS="`glib-config --libs gmodule`" +- GMODULE_FLAGS="`glib-config --cflags gmodule`" ++ GMODULE_LIBS="`${GLIB_CONFIG} --libs gmodule`" ++ GMODULE_FLAGS="`${GLIB_CONFIG} --cflags gmodule`" + + + echo "$ac_t""yes" 1>&6 +@@ -4205,7 +4205,7 @@ + echo "$ac_t""$jpeg_ok" 1>&6 + if test "$jpeg_ok" = yes; then + JPEGLIBS="-ljpeg" +- SUPPORT_LIBS="$SUPPORT_LIBS -ljpeg"; cat >> confdefs.h <<\EOF ++ SUPPORT_LIBS="$SUPPORT_LIBS"; cat >> confdefs.h <<\EOF + #define HAVE_LIBJPEG 1 + EOF + |