summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-11 02:05:07 +0000
committerjlam <jlam>2001-06-11 02:05:07 +0000
commit8bbd4f1feea4465410823a4908f2eaec42ed8814 (patch)
tree8a4903fb4961ac3e5118ca00c446b0bcfea9697d /x11
parent41bd0472789e2aed59f5f11fd815b22441b4b155 (diff)
downloadpkgsrc-8bbd4f1feea4465410823a4908f2eaec42ed8814.tar.gz
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.
Diffstat (limited to 'x11')
-rw-r--r--x11/fltk/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/x11/fltk/Makefile b/x11/fltk/Makefile
index 81132fe4f6d..804ac1f5bff 100644
--- a/x11/fltk/Makefile
+++ b/x11/fltk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2001/06/10 00:08:49 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2001/06/11 02:05:16 jlam Exp $
#
DISTNAME= ${PKGNAME}-source
@@ -29,9 +29,6 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
.include "../../graphics/Mesa/buildlink.mk"
-CPPFLAGS+= -I${BUILDLINK_INCDIR}
-LDFLAGS+= -L${BUILDLINK_LIBDIR}
-
test:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} test