summaryrefslogtreecommitdiff
path: root/devel/libgetopt
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-24 08:58:24 +0000
committerjlam <jlam@pkgsrc.org>2001-05-24 08:58:24 +0000
commitd1c6bb07b53c67659a36cb8ac5c28862d8c5054c (patch)
tree70371228669bdfaedbba1c91243272d71361935d /devel/libgetopt
parent54718a4db7a73e26f6c276f352e0682c36b5c527 (diff)
downloadpkgsrc-d1c6bb07b53c67659a36cb8ac5c28862d8c5054c.tar.gz
Make instructions for use more explicit, and correct a typo in the
comments (WRKSRC should be WRKDIR).
Diffstat (limited to 'devel/libgetopt')
-rw-r--r--devel/libgetopt/buildlink.mk15
1 files changed, 9 insertions, 6 deletions
diff --git a/devel/libgetopt/buildlink.mk b/devel/libgetopt/buildlink.mk
index eaef5fb7424..216465b0aa6 100644
--- a/devel/libgetopt/buildlink.mk
+++ b/devel/libgetopt/buildlink.mk
@@ -1,15 +1,18 @@
-# $NetBSD: buildlink.mk,v 1.1 2001/05/24 08:53:56 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.2 2001/05/24 08:58:24 jlam Exp $
#
# This Makefile fragment is included by packages that use getopt_long().
#
# If getopt_long() is not present in the base system, then a dependency
# on devel/libgetopt is added, and the appropriate headers are linked
-# into ${BUILDLINK_INCDIR} (${WRKSRC}/include).
+# into ${BUILDLINK_INCDIR} (${WRKDIR}/include).
#
-# To use this Makefile, simply include this Makefile fragment in the
-# package Makefile, optionally define BUILDLINK_INCDIR, add
-# ${BUILDLINK_TARGETS} to the prerequisite targets for pre-configure,
-# and add ${BUILDLINK_INCDIR} to the compiler's header search path.
+# To use this Makefile fragment, simply:
+#
+# (1) Include this Makefile fragment in the package Makefile,
+# (2) Optionally define BUILDLINK_INCDIR,
+# (3) Add ${BUILDLINK_TARGETS} to the prerequisite targets for pre-configure,
+# (4) Add ${BUILDLINK_INCDIR} to the front of the C preprocessor's header
+# search path.
.if exists(/usr/include/getopt.h)
GETOPT_H= /usr/include/getopt.h