pkgsrc/audio/libmikmod/buildlink3.mk
2012-06-04 09:29:53 +00:00

23 lines
683 B
Makefile

# $NetBSD: buildlink3.mk,v 1.19 2012/06/04 09:29:54 wiz Exp $
BUILDLINK_TREE+= libmikmod
.if !defined(LIBMIKMOD_BUILDLINK3_MK)
LIBMIKMOD_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libmikmod+= libmikmod>=3.1.9
BUILDLINK_ABI_DEPENDS.libmikmod+= libmikmod>=3.2.0
BUILDLINK_PKGSRCDIR.libmikmod?= ../../audio/libmikmod
pkgbase := libmikmod
.include "../../mk/pkg-build-options.mk"
# On some platforms, libmikmod dynamically loads esound,
# so there is no library dependency
.if !empty(PKG_BUILD_OPTIONS.libmikmod:Mesound) && \
empty(OPSYS:MNetBSD) && empty(OPSYS:MLinux)
. include "../../audio/esound/buildlink3.mk"
.endif
.endif # LIBMIKMOD_BUILDLINK3_MK
BUILDLINK_TREE+= -libmikmod