diff options
author | jlam <jlam> | 2004-02-19 06:41:21 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-19 06:41:21 +0000 |
commit | 789202cc74c021b2a805ca3830ede1bf91de71e4 (patch) | |
tree | 69aab3e40a9855e1454d4be5349b51369693d560 /audio | |
parent | 8d7d42d415e28a0198132ef31ab15ae05823b380 (diff) | |
download | pkgsrc-789202cc74c021b2a805ca3830ede1bf91de71e4.tar.gz |
Clean up this buildlink3.mk file and check for USE_ESOUND before including
the esound/buildlink3.mk file. Fixes PR 24485.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libmikmod/buildlink3.mk | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/audio/libmikmod/buildlink3.mk b/audio/libmikmod/buildlink3.mk index daaf94ebdca..2c423e4edee 100644 --- a/audio/libmikmod/buildlink3.mk +++ b/audio/libmikmod/buildlink3.mk @@ -1,24 +1,22 @@ -# $NetBSD: buildlink3.mk,v 1.1 2004/02/11 08:36:17 xtraeme Exp $ -# -# This Makefile fragment is included by packages that use libmikmod. -# -# This file was created automatically using createbuildlink-3.1. -# +# $NetBSD: buildlink3.mk,v 1.2 2004/02/19 06:41:21 jlam Exp $ -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBMIKMOD_BUILDLINK3_MK:= ${LIBMIKMOD_BUILDLINK3_MK}+ +.include "../../mk/bsd.prefs.mk" + .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= libmikmod .endif .if !empty(LIBMIKMOD_BUILDLINK3_MK:M+) -BUILDLINK_PACKAGES+= libmikmod -BUILDLINK_DEPENDS.libmikmod+= libmikmod>=3.1.9 -BUILDLINK_PKGSRCDIR.libmikmod?= ../../audio/libmikmod - -.include "../../audio/esound/buildlink3.mk" +BUILDLINK_PACKAGES+= libmikmod +BUILDLINK_DEPENDS.libmikmod+= libmikmod>=3.1.9 +BUILDLINK_PKGSRCDIR.libmikmod?= ../../audio/libmikmod +. if defined(USE_ESOUND) && !empty(USE_ESOUND:M[Yy][Ee][Ss]) +. include "../../audio/esound/buildlink3.mk" +. endif .endif # LIBMIKMOD_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |