summaryrefslogtreecommitdiff
path: root/lang/hugs
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-24 08:53:54 +0000
committerjlam <jlam>2001-05-24 08:53:54 +0000
commitea9a943426ae849f8671eeb8718e501bfeadb315 (patch)
tree5f91b7729fd1bdb67af0af17bb78b53ca29f8bd6 /lang/hugs
parenteb8ff3e130393605c7f87cc5adb1b7df003f0849 (diff)
downloadpkgsrc-ea9a943426ae849f8671eeb8718e501bfeadb315.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} \