Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2006 01:00:29 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95113: Update port: graphics/libexif-gtk
Message-ID:  <20060331010029.5e799672.tkato432@yahoo.com>
Resent-Message-ID: <200603301610.k2UGAMJp075022@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95113
>Category:       ports
>Synopsis:       Update port: graphics/libexif-gtk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 30 16:10:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p15 i386
>Organization:
>Environment:
>Description:
- Fix build with newer libexif

New file:
files/patch-configure.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/libexif-gtk/Makefile graphics/libexif-gtk/Makefile
--- /usr/ports/graphics/libexif-gtk/Makefile	Fri Feb 24 00:39:47 2006
+++ graphics/libexif-gtk/Makefile	Thu Mar 30 23:22:59 2006
@@ -18,7 +18,7 @@
 LIB_DEPENDS=	exif.12:${PORTSDIR}/graphics/libexif
 
 USE_GNOME=	gnomehack gnometarget gtk20
-GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	autoconf:259
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 INSTALLS_SHLIB=	yes
diff -urN /usr/ports/graphics/libexif-gtk/files/patch-configure.in graphics/libexif-gtk/files/patch-configure.in
--- /usr/ports/graphics/libexif-gtk/files/patch-configure.in	Thu Jan  1 09:00:00 1970
+++ graphics/libexif-gtk/files/patch-configure.in	Thu Mar 30 23:22:38 2006
@@ -0,0 +1,20 @@
+--- configure.in.orig	Tue Oct 19 04:12:58 2004
++++ configure.in	Thu Mar 30 23:22:23 2006
+@@ -52,7 +52,7 @@
+ dnl ---------------------------------------------------------------------------
+ CPPFLAGS_save="$CPPFLAGS"
+ CPPFLAGS=$LIBEXIF_GTK_CFLAGS
+-AC_CHECK_HEADER([exif-mem.h], [
++PKG_CHECK_MODULES(HAVE_EXIF_0_6_12, libexif >= 0.6.12, [
+ 	exif_msg=">= 0.6.12"
+ 	AC_DEFINE(HAVE_EXIF_0_6_12,1,[whether we use a version of libexif greater than 0.6.12])],[
+ 	exif_msg="< 0.6.12 (think about upgrading)"])
+@@ -73,7 +73,7 @@
+ 
+ Configuration (${PACKAGE}):
+ 
+-	Source code location:    $(srcdir)
++	Source code location:    ${srcdir}
+ 	Version:                 ${VERSION}
+ 	Compiler:                ${CC}
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060331010029.5e799672.tkato432>