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/libgetopt | |
parent | 1730a71573f2a8ad59a6f50d503cc4e022ae71ae (diff) | |
download | pkgsrc-20edd3082f2c33bbe47201f89bef1f9e01222129.tar.gz |
Protect against multiple inclusion.
Diffstat (limited to 'devel/libgetopt')
-rw-r--r-- | devel/libgetopt/buildlink.mk | 7 |
1 files changed, 6 insertions, 1 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 |