sthen dfe1fa3d41 update to giflib-5.2.1
take a patch used in Fedora and Debian to reinstate GifQuantizeBuffer
to the public api, which fixes a build issue in xplanet, and possible
runtime issue in mono otherwise seen with giflib-5.2+
2022-07-02 14:13:43 +00:00

26 lines
580 B
Makefile

COMMENT= tools and library routines for working with GIF images
DISTNAME= giflib-5.2.1
SHARED_LIBS += gif 9.0 # 7.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/}
HOMEPAGE= http://giflib.sourceforge.net/
# MIT
PERMIT_PACKAGE= Yes
WANTLIB += c m
USE_GMAKE= Yes
CFLAGS+= -DHAVE_REALLOCARRAY
MAKE_FLAGS= CC="${CC}" OFLAGS="${CFLAGS}" LIBVER="${LIBgif_VERSION}"
FAKE_FLAGS= MANDIR="${PREFIX}/man" LIBVER="${LIBgif_VERSION}"
BUILD_DEPENDS+= textproc/xmlto
TEST_DEPENDS= sysutils/coreutils
TEST_TARGET= check
.include <bsd.port.mk>