From 8bbd4f1feea4465410823a4908f2eaec42ed8814 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 11 Jun 2001 02:05:07 +0000 Subject: The buildlink include and lib directories are added to CFLAGS, CPPFLAGS, CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra definitions to add them from the package Makefiles. As advised by the bsd.buildlink.mk file, also ensure that the buildlink.mk files are included prior to defining any package-specific CFLAGS/LDFLAGS to ensure that the buildlink directories are at the head of the compiler search paths. --- cad/felt/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cad/felt/Makefile') diff --git a/cad/felt/Makefile b/cad/felt/Makefile index 0298140a240..3666b8a0eba 100644 --- a/cad/felt/Makefile +++ b/cad/felt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2001/06/10 00:08:42 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2001/06/11 02:05:08 jlam Exp $ DISTNAME= felt-3.05.src PKGNAME= felt-3.05 @@ -25,9 +25,6 @@ USE_GNU_READLINE= # uses remove_history() and history_list() .include "../../devel/readline/buildlink.mk" -CFLAGS+= -I${BUILDLINK_INCDIR} -LDFLAGS+= -L${BUILDLINK_LIBDIR} - post-extract: @${GZCAT} ${DISTDIR}/felt-3.05.ps.gz > ${WRKSRC}/felt.ps -- cgit v1.2.3