summaryrefslogtreecommitdiff
path: root/devel/libgetopt
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-26 05:44:09 +0000
committerjlam <jlam>2001-05-26 05:44:09 +0000
commit28cb60a97c14e3be3ded699c3c358d916b4b96f5 (patch)
treeb63c1564fc7c0df9841064849ab36e9135a9de4f /devel/libgetopt
parenta9ea91cae7f5a1eb8de02410ced09cc7731f8811 (diff)
downloadpkgsrc-28cb60a97c14e3be3ded699c3c358d916b4b96f5.tar.gz
Protect against multiple inclusion.
Diffstat (limited to 'devel/libgetopt')
-rw-r--r--devel/libgetopt/buildlink.mk7
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