1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

always use graphics/giflib, rather than the deprecated

graphics/libungif, for WITH_GIF

PR:		165297
Submitted by:	olgeni
This commit is contained in:
Brendan Fabeny 2012-02-21 04:07:34 +00:00
parent 74685c8dd6
commit 635489d6d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291966

View File

@ -7,6 +7,7 @@
PORTNAME= imlib2
PORTVERSION= 1.4.5
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= graphics enlightenment
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@ -80,13 +81,8 @@ 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 "