aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gimageview/Makefile5
-rw-r--r--graphics/gimageview/files/extra-patch-src-exit_view.c (renamed from graphics/gimageview/files/patch-src-exit_view.c)0
2 files changed, 5 insertions, 0 deletions
diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile
index 795b7f7b975f..13b13e0512fd 100644
--- a/graphics/gimageview/Makefile
+++ b/graphics/gimageview/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gimageview
PORTVERSION= 0.2.25
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gtkmmviewer
@@ -33,6 +34,10 @@ PKGNAMESUFFIX= -imlib
WITH_IMLIB= yes
.endif
+.if exists(${LOCALBASE}/lib/libexif.so.10)
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-exit_view.c
+.endif
+
.if exists(${LOCALBASE}/lib/libmng.so.1)
WITH_LIBMNG= yes
.endif
diff --git a/graphics/gimageview/files/patch-src-exit_view.c b/graphics/gimageview/files/extra-patch-src-exit_view.c
index 4e822a1486b0..4e822a1486b0 100644
--- a/graphics/gimageview/files/patch-src-exit_view.c
+++ b/graphics/gimageview/files/extra-patch-src-exit_view.c