diff options
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 " |