pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/medusa Convert to buildlink3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/cbc2d7c290b6
branches: trunk
changeset: 472773:cbc2d7c290b6
user: snj <snj%pkgsrc.org@localhost>
date: Mon Apr 12 04:48:39 2004 +0000
description:
Convert to buildlink3.
diffstat:
sysutils/medusa/Makefile | 6 +++---
sysutils/medusa/buildlink2.mk | 28 ----------------------------
sysutils/medusa/buildlink3.mk | 20 ++++++++++++++++++++
3 files changed, 23 insertions(+), 31 deletions(-)
diffs (80 lines):
diff -r 2c0b41bf28ba -r cbc2d7c290b6 sysutils/medusa/Makefile
--- a/sysutils/medusa/Makefile Mon Apr 12 04:45:26 2004 +0000
+++ b/sysutils/medusa/Makefile Mon Apr 12 04:48:39 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/01/03 18:49:53 reed Exp $
+# $NetBSD: Makefile,v 1.15 2004/04/12 04:48:39 snj Exp $
#
DISTNAME= medusa-0.5.1
@@ -13,12 +13,12 @@
DEPENDS+= psmisc-[0-9]*:../../sysutils/psmisc
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_X11= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-.include "../../sysutils/gnome-vfs/buildlink2.mk"
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 2c0b41bf28ba -r cbc2d7c290b6 sysutils/medusa/buildlink2.mk
--- a/sysutils/medusa/buildlink2.mk Mon Apr 12 04:45:26 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.5 2004/01/03 18:49:53 reed Exp $
-#
-# This Makefile fragment is included by packages that use medusa.
-#
-# This file was created automatically using createbuildlink 2.4.
-#
-
-.if !defined(MEDUSA_BUILDLINK2_MK)
-MEDUSA_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= medusa
-BUILDLINK_DEPENDS.medusa?= medusa>=0.5.1nb5
-BUILDLINK_PKGSRCDIR.medusa?= ../../sysutils/medusa
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.medusa=medusa
-BUILDLINK_PREFIX.medusa_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.medusa+= include/libmedusa/*
-BUILDLINK_FILES.medusa+= lib/libmedusa-index.*
-BUILDLINK_FILES.medusa+= lib/libmedusa.*
-BUILDLINK_FILES.medusa+= lib/vfs/modules/libvfs-search.* # XXX ???
-
-.include "../../sysutils/gnome-vfs/buildlink2.mk"
-
-BUILDLINK_TARGETS+= medusa-buildlink
-
-medusa-buildlink: _BUILDLINK_USE
-
-.endif # MEDUSA_BUILDLINK2_MK
diff -r 2c0b41bf28ba -r cbc2d7c290b6 sysutils/medusa/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/medusa/buildlink3.mk Mon Apr 12 04:48:39 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 04:48:39 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+MEDUSA_BUILDLINK3_MK:= ${MEDUSA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= medusa
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmedusa}
+BUILDLINK_PACKAGES+= medusa
+
+.if !empty(MEDUSA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.medusa+= medusa>=0.5.1nb5
+BUILDLINK_PKGSRCDIR.medusa?= ../../sysutils/medusa
+.endif # MEDUSA_BUILDLINK3_MK
+
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index