openbsd-ports/audio/libcdaudio/Makefile
jasper 26a178bb72 - fix build on mips64.
- rename patch, because not only powerpc is using it now.

no bump, because !mips64 packages didn't change, and mips64 didn't package.

ok mbalmer@
2008-01-30 14:08:54 +00:00

29 lines
742 B
Makefile

# $OpenBSD: Makefile,v 1.15 2008/01/30 14:08:54 jasper Exp $
COMMENT= multi-platform cd player development library
DISTNAME= libcdaudio-0.99.12
SHARED_LIBS += cdaudio 1.1 # .1.0
CATEGORIES= audio
HOMEPAGE= http://libcdaudio.sourceforge.net/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
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>