diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-26 05:44:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-26 05:44:09 +0000 |
commit | 20edd3082f2c33bbe47201f89bef1f9e01222129 (patch) | |
tree | b63c1564fc7c0df9841064849ab36e9135a9de4f /devel | |
parent | 1730a71573f2a8ad59a6f50d503cc4e022ae71ae (diff) | |
download | pkgsrc-20edd3082f2c33bbe47201f89bef1f9e01222129.tar.gz |
Protect against multiple inclusion.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libgetopt/buildlink.mk | 7 | ||||
-rw-r--r-- | devel/readline/buildlink.mk | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/devel/libgetopt/buildlink.mk b/devel/libgetopt/buildlink.mk index fa63007bf76..ebf41e5991b 100644 --- a/devel/libgetopt/buildlink.mk +++ b/devel/libgetopt/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.4 2001/05/25 04:49:15 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.5 2001/05/26 05:44:09 jlam Exp $ # # This Makefile fragment is included by packages that use getopt_long(). # @@ -16,6 +16,9 @@ # (5) Add ${BUILDLINK_LIBDIR} to the front of the linker's library search # path. +.if !defined(GETOPT_BUILDLINK_MK) +GETOPT_BUILDLINK_MK= # defined + .if exists(/usr/include/getopt.h) GETOPT_H= /usr/include/getopt.h .else @@ -60,3 +63,5 @@ link-getopt-libs: fi; \ done .endif + +.endif # GETOPT_BUILDLINK_MK diff --git a/devel/readline/buildlink.mk b/devel/readline/buildlink.mk index 5f1460506bc..b0d8dd3851a 100644 --- a/devel/readline/buildlink.mk +++ b/devel/readline/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.3 2001/05/25 04:49:16 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.4 2001/05/26 05:44:09 jlam Exp $ # # This Makefile fragment is included by packages that use readline(). # @@ -22,6 +22,9 @@ # NOTE: You may need to do some more work to get libedit recognized over # libreadline, especially by GNU configure scripts. +.if !defined(READLINE_BUILDLINK_MK) +READLINE_BUILDLINK_MK= # defined + READLINE_REQD?= 2.2 .if defined(USE_GNU_READLINE) @@ -112,3 +115,5 @@ link-readline-libs: ${LN} -sf $${lib} $${dest}; \ fi; \ done + +.endif # READLINE_BUILDLINK_MK |