From cedae39d4931cb6bdbaa32761eba928ffeab0f77 Mon Sep 17 00:00:00 2001
From: Pav Lucistnik <pav@FreeBSD.org>
Date: Tue, 27 Jul 2004 22:21:11 +0000
Subject: [PATCH] - Switch to new libtool

Submitted by:	Tom McLaughlin <tmclaugh@sdf.lonestar.org> via mezz
---
 graphics/gthumb2/Makefile  | 5 +++--
 graphics/gthumb2/pkg-plist | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/graphics/gthumb2/Makefile b/graphics/gthumb2/Makefile
index 9c33d345df64..4514aed15f80 100644
--- a/graphics/gthumb2/Makefile
+++ b/graphics/gthumb2/Makefile
@@ -7,6 +7,7 @@
 
 PORTNAME=	gthumb2
 PORTVERSION=	2.4.1
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME:S/2$//}
@@ -20,8 +21,8 @@ LIB_DEPENDS=	exif.10:${PORTSDIR}/graphics/libexif
 
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomeprefix gnomehack intlhack lthack libgnomeui libgnomeprintui
-USE_LIBTOOL_VER=13
+USE_GNOME=	gnomeprefix gnomehack intlhack libgnomeui libgnomeprintui
+USE_LIBTOOL_VER=15
 INSTALLS_SHLIB=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/graphics/gthumb2/pkg-plist b/graphics/gthumb2/pkg-plist
index dc7b1aef9445..5ae16522c091 100644
--- a/graphics/gthumb2/pkg-plist
+++ b/graphics/gthumb2/pkg-plist
@@ -2,6 +2,7 @@ bin/gthumb
 @unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/gthumb.schemas > /dev/null || /usr/bin/true
 etc/gconf/schemas/gthumb.schemas
 @exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/gthumb.schemas > /dev/null || /usr/bin/true
+lib/gthumb/libgthumb.a
 lib/gthumb/libgthumb.so
 lib/gthumb/modules/libduplicates.so
 lib/gthumb/modules/libjpegtran.so