summaryrefslogtreecommitdiff
path: root/lang/hugs
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-24 08:53:54 +0000
committerjlam <jlam@pkgsrc.org>2001-05-24 08:53:54 +0000
commit54718a4db7a73e26f6c276f352e0682c36b5c527 (patch)
tree5f91b7729fd1bdb67af0af17bb78b53ca29f8bd6 /lang/hugs
parenta7c8e855cba1fc8efee19d3a05c929de3572328e (diff)
downloadpkgsrc-54718a4db7a73e26f6c276f352e0682c36b5c527.tar.gz
Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers and libraries. Create a variable BUILDLINK_TARGETS whose value is the list of build-link targets to execute.
Diffstat (limited to 'lang/hugs')
-rw-r--r--lang/hugs/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile
index da3293ff113..529bf6f2c10 100644
--- a/lang/hugs/Makefile
+++ b/lang/hugs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2001/05/22 06:54:05 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2001/05/24 08:53:57 jlam Exp $
DISTNAME= hugs98-Feb2000
PKGNAME= hugs98-200002
@@ -20,11 +20,11 @@ CONFIGURE_ENV+= ac_cv_lib_ncurses_main=no
# Hugs' build doesn't require the readline headers, only the readline library.
# The only function it uses is readline().
#
-.include "../../devel/readline/Makefile.readline"
+.include "../../devel/readline/buildlink.mk"
-LDFLAGS+= -L${WRKLIBDIR}
+LDFLAGS+= -L${BUILDLINK_LIBDIR}
-pre-configure: link-readline-libs
+pre-configure: ${BUILDLINK_TARGETS}
do-build:
@cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \