ca650b05be
0-point envelopes in kgb.xm on amd64 (blame recent malloc changes, it used to work not so long ago on mips and alpha). ok maintainer@ (for politeness' sake - I wrote this code after all so I don't need his opinion (-: )
42 lines
875 B
Makefile
42 lines
875 B
Makefile
# $OpenBSD: Makefile,v 1.14 2008/10/23 22:06:26 miod Exp $
|
|
|
|
COMMENT= mikmod sound library
|
|
|
|
VERSION= 3.1.10
|
|
DISTNAME= libmikmod-${VERSION}
|
|
PKGNAME= ${DISTNAME}p5
|
|
SHARED_LIBS += mikmod 2.4 # .2.4
|
|
CATEGORIES= audio devel
|
|
|
|
HOMEPAGE= http://mikmod.raphnet.net/
|
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/files/libmikmod/ \
|
|
${MASTER_SITE_SUNSITE:=apps/sound/libs/}
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE= gnu
|
|
USE_LIBTOOL= Yes
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --disable-dl \
|
|
--enable-oss
|
|
|
|
FLAVORS= esd
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L:Mesd}
|
|
CONFIGURE_ARGS+= --enable-esd
|
|
LIB_DEPENDS+= esd.>=2::audio/esound
|
|
WANTLIB+= audiofile m
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-esd
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|