From 1c173ba8e2deca49b126f8bd939dadf46f3be360 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. --- devel/rpc2/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'devel/rpc2') diff --git a/devel/rpc2/Makefile b/devel/rpc2/Makefile index 11725e6bb7e..abdd8c72f93 100644 --- a/devel/rpc2/Makefile +++ b/devel/rpc2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/06/10 00:08:43 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2001/06/11 02:05:09 jlam Exp $ # DISTNAME= rpc2-1.10 @@ -24,7 +24,5 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig CONFIGURE_ENV+= ac_cv_search_tgetent="-ltermcap" CONFIGURE_ENV+= PERL=${PERL5} CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" -CPPFLAGS+= -I${BUILDLINK_INCDIR} -LDFLAGS+= -L${BUILDLINK_LIBDIR} .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3