aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-02-18 19:40:38 +0800
committerdinoex <dinoex@FreeBSD.org>2012-02-18 19:40:38 +0800
commita0ca8ba59ed92b3c15591f63763fffb4ee61d6ca (patch)
treea54a76d6c7d24846eb0129c9eacb15d0607baadc /graphics
parent1fe778d6f0625ca33680051c19b941ff7e3a4b19 (diff)
downloadfreebsd-ports-gnome-a0ca8ba59ed92b3c15591f63763fffb4ee61d6ca.tar.gz
freebsd-ports-gnome-a0ca8ba59ed92b3c15591f63763fffb4ee61d6ca.tar.zst
freebsd-ports-gnome-a0ca8ba59ed92b3c15591f63763fffb4ee61d6ca.zip
- build with giflib
- add dependecy to iconv as source used iconv directly
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ida/Makefile4
-rw-r--r--graphics/ida/files/patch-GNUmakefile24
2 files changed, 24 insertions, 4 deletions
diff --git a/graphics/ida/Makefile b/graphics/ida/Makefile
index 4d4047307f1a..1412111de578 100644
--- a/graphics/ida/Makefile
+++ b/graphics/ida/Makefile
@@ -24,9 +24,11 @@ OPTIONS= GIF "Enable GIF support" on \
TIFF "Enable TIFF support" on \
WEBP "Enable WebP suport" off
+USE_ICONV= yes
USE_MOTIF= yes
USE_PERL5_BUILD=yes
USE_GMAKE= yes
+LDFLAGS+= -liconv
MAKEFILE= ${WRKSRC}/GNUmakefile
MAKE_ARGS= JPEG_VER=80 verbose=yes
@@ -39,7 +41,7 @@ PLIST_FILES= bin/exiftran bin/ida lib/X11/app-defaults/Ida
.if defined(WITHOUT_GIF)
MAKE_ARGS+= HAVE_LIBUNGIF=no
.else
-LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif
+LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib
.endif
.if defined(WITH_PCD)
diff --git a/graphics/ida/files/patch-GNUmakefile b/graphics/ida/files/patch-GNUmakefile
index 22117e9852ba..842fdbca8b0d 100644
--- a/graphics/ida/files/patch-GNUmakefile
+++ b/graphics/ida/files/patch-GNUmakefile
@@ -1,5 +1,5 @@
---- GNUmakefile.orig 2006-06-13 16:35:48.000000000 +0300
-+++ GNUmakefile 2009-05-31 12:06:34.000000000 +0300
+--- GNUmakefile.orig 2011-06-01 09:31:59.000000000 +0200
++++ GNUmakefile 2012-02-18 12:33:58.000000000 +0100
@@ -8,7 +8,6 @@
# fixup flags
@@ -8,7 +8,25 @@
# default target
all: build
-@@ -130,8 +129,8 @@
+@@ -43,7 +42,7 @@
+ HAVE_GLIBC := $(call ac_func,fopencookie)
+ HAVE_STRCASESTR := $(call ac_func,strcasestr)
+ HAVE_LIBPCD := $(call ac_lib,pcd_open,pcd)
+-HAVE_LIBUNGIF := $(call ac_lib,DGifOpenFileName,ungif)
++HAVE_LIBUNGIF := $(call ac_lib,DGifOpenFileName,gif)
+ HAVE_LIBPNG := $(call ac_lib,png_read_info,png,-lz)
+ HAVE_LIBTIFF := $(call ac_lib,TIFFOpen,tiff)
+ HAVE_LIBWEBP := $(call ac_lib,WebPDecodeRGBA,webp)
+@@ -87,7 +86,7 @@
+ TIFF_LDLIBS := -ltiff
+ WEBP_LDLIBS := -lwebp
+ PCD_LDLIBS := -lpcd
+-UNGIF_LDLIBS := -lungif
++UNGIF_LDLIBS := -lgif
+ SANE_LDLIBS := -lsane
+ CURL_LDLIBS := -lcurl
+ LIRC_LDLIBS := -llirc_client
+@@ -144,8 +143,8 @@
OBJS_IDA += $(call ac_lib_mkvar,$(ida_libs),OBJS)
# for X11 + Motif