openbsd-ports/graphics/gd/Makefile
bernd 6cb9a7ea81 Security fix for gd-2.0.33. (CVE-2006-2906)
Fixes an infinite loop error within the handling of GIF images.

Detailed information: http://secunia.com/advisories/20500/

Fix from Xavier Roche via Ubuntu via NetBSD

ok naddy@
2006-06-15 22:18:25 +00:00

38 lines
815 B
Makefile

# $OpenBSD: Makefile,v 1.45 2006/06/15 22:18:25 bernd Exp $
COMMENT= "library for dynamic creation of images"
DISTNAME= gd-2.0.33
PKGNAME= ${DISTNAME}p3
SHARED_LIBS= gd 20.33
CATEGORIES= graphics
MASTER_SITES= http://www.boutell.com/gd/http/
HOMEPAGE= http://www.boutell.com/gd/
LIB_DEPENDS= jpeg.62::graphics/jpeg \
png.2::graphics/png
MODULES= converters/libiconv
WANTLIB= c fontconfig freetype m z
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --without-xpm
USE_X11= Yes
USE_LIBTOOL= Yes
post-install:
@cd ${WRKSRC} && ./gddemo
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gd
cd ${WRKSRC} && ${INSTALL_DATA} demoin.png demoout.png index.html \
${PREFIX}/share/examples/gd
.include <bsd.port.mk>