pkgsrc/audio/bml/Makefile

31 lines
706 B
Makefile

# $NetBSD: Makefile,v 1.10 2016/03/14 11:48:10 tnn Exp $
#
DISTNAME= bml-0.8.0
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=buzztard/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://buzztard.sourceforge.net/
COMMENT= Buzz machine loader
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c99 c++
PKGCONFIG_OVERRIDE+= libbml.pc.in
CFLAGS+= -DHAVE_VSSCANF=1 # missing configure logic
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386)
LDFLAGS+= -li386 # for i386_set_ldt
.endif
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"