From 8c5aa6e7666bc74260898bf8daea33c8f55c8274 Mon Sep 17 00:00:00 2001
From: Pav Lucistnik <pav@FreeBSD.org>
Date: Tue, 30 Aug 2005 15:22:29 +0000
Subject: - Update to 2.6.7 - Flip GPHOTO2 option to default to on - Mark
 BROKEN on 4.X, this version requires new libm functions

---
 graphics/gthumb/Makefile | 8 ++++++--
 graphics/gthumb/distinfo | 4 ++--
 2 files changed, 8 insertions(+), 4 deletions(-)

(limited to 'graphics/gthumb')

diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile
index 0399385f78cb..f97036d60659 100644
--- a/graphics/gthumb/Makefile
+++ b/graphics/gthumb/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gthumb
-PORTVERSION=	2.6.6
+PORTVERSION=	2.6.7
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/${PORTNAME:S/2$//}/2.6
@@ -33,8 +33,12 @@ MAN1=		gthumb.1
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_GPHOTO2) || exists(${LOCALBASE}/lib/libgphoto2.so.2)
+.if !defined(WITHOUT_GPHOTO2) || exists(${LOCALBASE}/lib/libgphoto2.so.2)
 LIB_DEPENDS+=	gphoto2.2:${PORTSDIR}/graphics/libgphoto2
 .endif
 
+.if ${OSVERSION} < 500000
+BROKEN=		"does not compile, requires round() in libm"
+.endif
+
 .include <bsd.port.post.mk>
diff --git a/graphics/gthumb/distinfo b/graphics/gthumb/distinfo
index 92785e4e7e5c..abdda11379dc 100644
--- a/graphics/gthumb/distinfo
+++ b/graphics/gthumb/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/gthumb-2.6.6.tar.bz2) = 498d2729805e335c850f418b7994df66
-SIZE (gnome2/gthumb-2.6.6.tar.bz2) = 2340014
+MD5 (gnome2/gthumb-2.6.7.tar.bz2) = 4a155affbddc5af3ce82c623c1329225
+SIZE (gnome2/gthumb-2.6.7.tar.bz2) = 2342501
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0