diff options
author | krion <krion@FreeBSD.org> | 2005-03-18 19:37:57 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-03-18 19:37:57 +0800 |
commit | 8c64f31c0cab0d30f72e2c86f8f51d5cd422326c (patch) | |
tree | 805a1dd95b46a748d1458b667d53f75aeb1b37f5 /graphics | |
parent | 024a1601f7dbaaed0f0329a321fcefd77af0ff3b (diff) | |
download | freebsd-ports-gnome-8c64f31c0cab0d30f72e2c86f8f51d5cd422326c.tar.gz freebsd-ports-gnome-8c64f31c0cab0d30f72e2c86f8f51d5cd422326c.tar.zst freebsd-ports-gnome-8c64f31c0cab0d30f72e2c86f8f51d5cd422326c.zip |
fix build on 5.x/6.x and all archs.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gimageview/Makefile | 5 | ||||
-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 |