pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/groff add this to allow pkgs to depend on gro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/08846e9cc5a6
branches: trunk
changeset: 477723:08846e9cc5a6
user: drochner <drochner%pkgsrc.org@localhost>
date: Wed Jul 07 19:06:23 2004 +0000
description:
add this to allow pkgs to depend on groff, whether it is part of the
base system or not
diffstat:
textproc/groff/buildlink3.mk | 20 ++++++++++++++++++++
textproc/groff/builtin.mk | 10 ++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)
diffs (38 lines):
diff -r cfb8ce26a104 -r 08846e9cc5a6 textproc/groff/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/buildlink3.mk Wed Jul 07 19:06:23 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/07/07 19:06:23 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GROFF_BUILDLINK3_MK:= ${GROFF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= groff
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngroff}
+BUILDLINK_PACKAGES+= groff
+
+.if !empty(GROFF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.groff+= groff>=1.19nb4
+BUILDLINK_PKGSRCDIR.groff?= ../../textproc/groff
+
+BUILDLINK_DEPMETHOD.groff?= build
+.endif # GROFF_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r cfb8ce26a104 -r 08846e9cc5a6 textproc/groff/builtin.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groff/builtin.mk Wed Jul 07 19:06:23 2004 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: builtin.mk,v 1.1 2004/07/07 19:06:23 drochner Exp $
+
+.if !defined(IS_BUILTIN.groff)
+IS_BUILTIN.groff= no
+. if exists(/usr/bin/groff)
+IS_BUILTIN.groff= yes
+. endif
+.endif # IS_BUILTIN.groff
+
+USE_BUILTIN.groff?= ${IS_BUILTIN.groff}
Home |
Main Index |
Thread Index |
Old Index