pkgsrc/audio/libmikmod/buildlink3.mk

23 lines
690 B
Makefile

# $NetBSD: buildlink3.mk,v 1.18 2012/01/13 10:54:46 obache 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.1.12nb1
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