diff options
author | drochner <drochner> | 2004-07-07 19:06:23 +0000 |
---|---|---|
committer | drochner <drochner> | 2004-07-07 19:06:23 +0000 |
commit | 2a08efda8e331a0b5e5931e91352aec158ffe915 (patch) | |
tree | f069cde8916e81919483af4daaf737c6efe07c00 /textproc | |
parent | d88f74325dbc4c1c90b69b33ab85db2e3f6b999c (diff) | |
download | pkgsrc-2a08efda8e331a0b5e5931e91352aec158ffe915.tar.gz |
add this to allow pkgs to depend on groff, whether it is part of the
base system or not
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/groff/buildlink3.mk | 20 | ||||
-rw-r--r-- | textproc/groff/builtin.mk | 10 |
2 files changed, 30 insertions, 0 deletions
diff --git a/textproc/groff/buildlink3.mk b/textproc/groff/buildlink3.mk new file mode 100644 index 00000000000..09fd4738a90 --- /dev/null +++ b/textproc/groff/buildlink3.mk @@ -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 --git a/textproc/groff/builtin.mk b/textproc/groff/builtin.mk new file mode 100644 index 00000000000..29db228727a --- /dev/null +++ b/textproc/groff/builtin.mk @@ -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} |