diff options
author | stas <stas@FreeBSD.org> | 2011-05-15 07:09:46 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2011-05-15 07:09:46 +0800 |
commit | 4a34ed16ecb9b752c92ae89ed61efe5dce00f1dc (patch) | |
tree | 1e2db59c9fd4d9f359d337e4e34151efd4b19424 /graphics | |
parent | c216d2219875d78fb6ffd0e4f3d2ca3f4d2ca196 (diff) | |
download | freebsd-ports-gnome-4a34ed16ecb9b752c92ae89ed61efe5dce00f1dc.tar.gz freebsd-ports-gnome-4a34ed16ecb9b752c92ae89ed61efe5dce00f1dc.tar.zst freebsd-ports-gnome-4a34ed16ecb9b752c92ae89ed61efe5dce00f1dc.zip |
- Imlib picks up giflib if available instead of libungif. Account for
this.
PR: ports/157047
Submitted by: "Herbert J. Skuhra" <h.skuhra@gmail.com>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/imlib2/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index 071cf72c16d2..424c331a4f8a 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -7,7 +7,7 @@ PORTNAME= imlib2 PORTVERSION= 1.4.4 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= graphics enlightenment MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -77,8 +77,13 @@ PLIST_SUB+= TIFF="@comment " .endif .if !defined(WITHOUT_GIF) +. if exists(${LOCALBASE}/lib/libgif.so) +LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib +PLIST_SUB+= GIF="" +. else LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif PLIST_SUB+= GIF="" +. endif .else CONFIGURE_ARGS+= --without-gif PLIST_SUB+= GIF="@comment " |