pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libmikmod Clean up this buildlink3.mk file and c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d24c6465049
branches:  trunk
changeset: 469043:3d24c6465049
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 19 06:41:21 2004 +0000

description:
Clean up this buildlink3.mk file and check for USE_ESOUND before including
the esound/buildlink3.mk file.  Fixes PR 24485.

diffstat:

 audio/libmikmod/buildlink3.mk |  22 ++++++++++------------
 1 files changed, 10 insertions(+), 12 deletions(-)

diffs (38 lines):

diff -r 9aafb73f2227 -r 3d24c6465049 audio/libmikmod/buildlink3.mk
--- a/audio/libmikmod/buildlink3.mk     Thu Feb 19 06:37:27 2004 +0000
+++ b/audio/libmikmod/buildlink3.mk     Thu Feb 19 06:41:21 2004 +0000
@@ -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
+BUILDLINK_PACKAGES+=           libmikmod
+BUILDLINK_DEPENDS.libmikmod+=  libmikmod>=3.1.9
+BUILDLINK_PKGSRCDIR.libmikmod?=        ../../audio/libmikmod
 
-.include "../../audio/esound/buildlink3.mk"
-
+.  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/+$//}



Home | Main Index | Thread Index | Old Index