openbsd-ports/audio/libcdaudio/Makefile
jasper 4af0899070 Security fix for CVE-2008-5030 , which can cause a buffer overflow.
Patch extracted from Debian's 02-cddb-bufferoverflow.dpatch

ok kevlo@ (MAINTAINER)
2009-01-18 23:34:04 +00:00

31 lines
775 B
Makefile

# $OpenBSD: Makefile,v 1.16 2009/01/18 23:34:04 jasper Exp $
COMMENT= multi-platform cd player development library
DISTNAME= libcdaudio-0.99.12
PKGNAME= ${DISTNAME}p0
SHARED_LIBS += cdaudio 1.1 # .1.0
CATEGORIES= audio
HOMEPAGE= http://libcdaudio.sourceforge.net/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
# LGPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libcdaudio/}
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
# Workaround compiler bug with cddb.c, otherwise we get a sig11
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "powerpc"
PATCH_LIST+= sup-no_optimization
.endif
.include <bsd.port.mk>