summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-11 08:36:17 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-11 08:36:17 +0000
commitaa7f90d1a8fe7a95b6f28fd228c781fa5b2d4e57 (patch)
tree417db5b3ede80f9fbd57a149996c44bde6c017c4
parent817087eebfc363be5914ffe3c35707ea27fc6bcf (diff)
downloadpkgsrc-aa7f90d1a8fe7a95b6f28fd228c781fa5b2d4e57.tar.gz
bl3ify and replace obsolete LTCONFIG_OVERRIDE with LIBTOOL_OVERRIDE.
-rw-r--r--audio/libmikmod/Makefile10
-rw-r--r--audio/libmikmod/buildlink3.mk24
2 files changed, 29 insertions, 5 deletions
diff --git a/audio/libmikmod/Makefile b/audio/libmikmod/Makefile
index 6d63b6db84e..e74bb94ea24 100644
--- a/audio/libmikmod/Makefile
+++ b/audio/libmikmod/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2004/01/22 07:15:00 grant Exp $
+# $NetBSD: Makefile,v 1.27 2004/02/11 08:36:17 xtraeme Exp $
DISTNAME= libmikmod_3.1.10
PKGNAME= libmikmod-3.1.10
@@ -12,19 +12,19 @@ COMMENT= MikMod Sound Library
USE_GNU_TOOLS+= make
GNU_CONFIGURE= # defined
USE_LIBTOOL= # defined
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= # defined
USE_MAKEINFO= YES
INFO_FILES= mikmod.info
WRKSRC= ${WRKDIR}/${PKGNAME}
CONFIGURE_ARGS+= --disable-threads
-LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_ESOUND
.if defined(USE_ESOUND) && !empty(USE_ESOUND:M[Yy][Ee][Ss])
-.include "../../audio/esound/buildlink2.mk"
+.include "../../audio/esound/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-esd
.endif
@@ -33,7 +33,7 @@ pre-build:
${RM} -f ${WRKSRC}/docs/mikmod.info*
.if defined(USE_OSS)
-. include "../../mk/ossaudio.buildlink2.mk"
+. include "../../mk/ossaudio.buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libmikmod/buildlink3.mk b/audio/libmikmod/buildlink3.mk
new file mode 100644
index 00000000000..daaf94ebdca
--- /dev/null
+++ b/audio/libmikmod/buildlink3.mk
@@ -0,0 +1,24 @@
+# $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.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBMIKMOD_BUILDLINK3_MK:= ${LIBMIKMOD_BUILDLINK3_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"
+
+.endif # LIBMIKMOD_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}