1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/x11/libXpm/Makefile
Eric Anholt ef0df2863f Apply fixes for CAN-2004-0687 and CAN-2004-0688 in libXpm (stack-based and
integer overflow security vulnerabilities).  While I haven't compile-tested
this, the patch applies and I think it should be correct, and if it doesn't work
then this should be marked FORBIDDEN anyway.

Approved by:	portmgr
2004-09-16 02:15:43 +00:00

36 lines
878 B
Makefile

# New ports collection makefile for: libXpm
# Date Created: 25 Jan, 2003
# Whom: Eric Anholt <anholt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libXpm
PORTVERSION= 3.5.1
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://pdx.freedesktop.org/~xlibs/release/
MAINTAINER= x11@FreeBSD.org
COMMENT= X Pixmap library
LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/x11.pc:${PORTSDIR}/x11/libX11
BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/xproto.pc:${PORTSDIR}/x11/xproto \
${LIB_PC_DEPENDS}
RUN_DEPENDS= ${LIB_PC_DEPENDS}
CONFLICTS= XFree86-libraries-* xorg-libraries-*
USE_BZIP2= yes
PREFIX?= ${X11BASE}
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_INC_LIBTOOL_VER=13
CFLAGS+= -DMALLOC_0_RETURNS_NULL
INSTALLS_SHLIB= yes
USE_GNOME= gnomehack pkgconfig
.include <bsd.port.mk>