aboutsummaryrefslogtreecommitdiff
path: root/graphics/libexif-gtk
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2006-03-31 03:21:22 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2006-03-31 03:21:22 +0000
commitdd8f577b707a7c7525bbe6d80d147c3461ca63ba (patch)
tree91ae1bbe912430bad961f705f788b4ab590b0fa6 /graphics/libexif-gtk
parenta0c56be26c115e6bf49226cd388223fb9156bc93 (diff)
downloadports-dd8f577b707a7c7525bbe6d80d147c3461ca63ba.tar.gz
ports-dd8f577b707a7c7525bbe6d80d147c3461ca63ba.zip
Fix build with newer libexif
PR: 95113 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=158448
Diffstat (limited to 'graphics/libexif-gtk')
-rw-r--r--graphics/libexif-gtk/Makefile2
-rw-r--r--graphics/libexif-gtk/files/patch-configure.in20
2 files changed, 21 insertions, 1 deletions
diff --git a/graphics/libexif-gtk/Makefile b/graphics/libexif-gtk/Makefile
index 72598df87fda..1ee124fb7897 100644
--- a/graphics/libexif-gtk/Makefile
+++ b/graphics/libexif-gtk/Makefile
@@ -18,7 +18,7 @@ COMMENT= GTK+ widgets to display/edit EXIF tags
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 --git a/graphics/libexif-gtk/files/patch-configure.in b/graphics/libexif-gtk/files/patch-configure.in
new file mode 100644
index 000000000000..a887ca22733f
--- /dev/null
+++ b/graphics/libexif-gtk/files/patch-configure.in
@@ -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}
+