blob: 14249a973ee57e2945013603e6e83ef8b526569b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $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
|