aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2006-03-31 11:21:22 +0800
committerijliao <ijliao@FreeBSD.org>2006-03-31 11:21:22 +0800
commit4570e39cc6978cb60b4bc0e5bd2cd5ec1f3d0b04 (patch)
treedf55fda90617f97dd3a7252aebc76d96abb65613 /graphics
parent09ab515c26d3c78d4c1b1fdafef9280b0eb8a25e (diff)
downloadfreebsd-ports-gnome-4570e39cc6978cb60b4bc0e5bd2cd5ec1f3d0b04.tar.gz
freebsd-ports-gnome-4570e39cc6978cb60b4bc0e5bd2cd5ec1f3d0b04.tar.zst
freebsd-ports-gnome-4570e39cc6978cb60b4bc0e5bd2cd5ec1f3d0b04.zip
Fix build with newer libexif
PR: 95113 Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-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}
+