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. --- print/xpp/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'print/xpp') diff --git a/print/xpp/Makefile b/print/xpp/Makefile index dfa0952e38c..00b76b90f92 100644 --- a/print/xpp/Makefile +++ b/print/xpp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2001/06/10 00:08:48 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2001/06/11 02:05:14 jlam Exp $ DISTNAME= xpp-1.0 CATEGORIES= print x11 @@ -17,9 +17,6 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" .include "../../print/cups/buildlink.mk" .include "../../x11/fltk/buildlink.mk" -CPPFLAGS+= -I${BUILDLINK_INCDIR} -LDFLAGS+= -L${BUILDLINK_LIBDIR} - DOCDIR= ${PREFIX}/share/doc/xpp pre-configure: -- cgit v1.2.3