summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-24 08:58:24 +0000
committerjlam <jlam>2001-05-24 08:58:24 +0000
commit5a10f3fb9337777a72880c4f81cc22162c2e65cd (patch)
tree70371228669bdfaedbba1c91243272d71361935d
parent131cb1116e609a43c2ade4281eb7b6dbaa900389 (diff)
downloadpkgsrc-5a10f3fb9337777a72880c4f81cc22162c2e65cd.tar.gz
Make instructions for use more explicit, and correct a typo in the
comments (WRKSRC should be WRKDIR).
-rw-r--r--devel/libgetopt/buildlink.mk15
-rw-r--r--devel/readline/buildlink.mk6
2 files changed, 12 insertions, 9 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
diff --git a/devel/readline/buildlink.mk b/devel/readline/buildlink.mk
index f15d8e31f20..485990d15d6 100644
--- a/devel/readline/buildlink.mk
+++ b/devel/readline/buildlink.mk
@@ -1,11 +1,11 @@
-# $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:25 jlam Exp $
#
# This Makefile fragment is included by packages that use readline().
#
# If readline() is not present in the base system through libedit, then a
# dependency on devel/readline is added, the appropriate headers are linked
-# into ${BUILDLINK_INCDIR} (${WRKSRC}/include), and the appropriate libraries
-# are linked into ${BUILDLINK_LIBDIR} (${WRKSRC}/lib).
+# into ${BUILDLINK_INCDIR} (${WRKDIR}/include), and the appropriate libraries
+# are linked into ${BUILDLINK_LIBDIR} (${WRKDIR}/lib).
#
# To use this Makefile fragment, simply:
#