From 131cb1116e609a43c2ade4281eb7b6dbaa900389 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 24 May 2001 08:53:54 +0000 Subject: 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. --- lang/hugs/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lang/hugs') 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} \ -- cgit v1.2.3