
$FreeBSD: ports/graphics/gimp-devel/files/patch-configure,v 1.3 2002/05/20 17:57:32 sobomax Exp $

--- configure.orig	Sun Feb 10 22:25:19 2002
+++ configure	Fri May 17 20:53:47 2002
@@ -746,7 +746,7 @@
 GIMP_VERSION=$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION.$GIMP_MICRO_VERSION
 
 LT_RELEASE=$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION
-LT_CURRENT=`expr $GIMP_MICRO_VERSION - $GIMP_INTERFACE_AGE`
+LT_CURRENT=2
 LT_REVISION=$GIMP_INTERFACE_AGE
 LT_AGE=`expr $GIMP_BINARY_AGE - $GIMP_INTERFACE_AGE`
 
@@ -5310,6 +5310,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'
@@ -11392,8 +11393,8 @@
 
 fi
 
-gimpdatadir=$datadir/$PACKAGE/$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION
-gimpplugindir=$libdir/$PACKAGE/$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION
+gimpdatadir=$datadir/$PACKAGE
+gimpplugindir=$libexecdir/$PACKAGE/$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION
 gimpsysconfdir=$sysconfdir/$PACKAGE/$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION
 
 localedir='${prefix}/${DATADIRNAME}/locale'
@@ -12526,11 +12527,6 @@
   *) # Relative path.
     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     top_srcdir="$ac_dots$ac_given_srcdir" ;;
-  esac
-
-  case "$ac_given_INSTALL" in
-  [/$]*) INSTALL="$ac_given_INSTALL" ;;
-  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
   esac
 
   echo creating "$ac_file"
