From dbfde59b14f3df33f921b522c83796d99919502c 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. --- time/devtodo/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'time') diff --git a/time/devtodo/Makefile b/time/devtodo/Makefile index 1d401d10062..b3727686ea0 100644 --- a/time/devtodo/Makefile +++ b/time/devtodo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/06/10 00:08:48 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2001/06/11 02:05:15 jlam Exp $ # DISTNAME= devtodo-0.1.6-1 @@ -21,8 +21,4 @@ CONFIGURE_ENV+= ac_cv_lib_curses_tputs=no USE_GNU_READLINE= # uses rl_startup_hook() .include "../../devel/readline/buildlink.mk" - -CXXFLAGS+= -I${BUILDLINK_INCDIR} -LDFLAGS+= -L${BUILDLINK_LIBDIR} - .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3