summaryrefslogtreecommitdiff
path: root/graphics/freetype-lib
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-11 02:05:07 +0000
committerjlam <jlam>2001-06-11 02:05:07 +0000
commit1c173ba8e2deca49b126f8bd939dadf46f3be360 (patch)
tree8a4903fb4961ac3e5118ca00c446b0bcfea9697d /graphics/freetype-lib
parentfd9688151b15b136e8bb62a77ec3f4c6abf839da (diff)
downloadpkgsrc-1c173ba8e2deca49b126f8bd939dadf46f3be360.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 'graphics/freetype-lib')
-rw-r--r--graphics/freetype-lib/Makefile.common6
1 files changed, 1 insertions, 5 deletions
diff --git a/graphics/freetype-lib/Makefile.common b/graphics/freetype-lib/Makefile.common
index 994478924a3..8b24db11ae1 100644
--- a/graphics/freetype-lib/Makefile.common
+++ b/graphics/freetype-lib/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.13 2001/06/10 00:08:44 jlam Exp $
+# $NetBSD: Makefile.common,v 1.14 2001/06/11 02:05:10 jlam Exp $
DISTNAME= freetype-${FT_VERS}
FT_VERS= 1.3.1
@@ -28,8 +28,4 @@ PATCHDIR= ${.CURDIR}/../../graphics/freetype-lib/patches
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CONFIGURE_ENV+= LIBS="${LIBS}"
-CPPFLAGS+= -I${BUILDLINK_INCDIR}
-CFLAGS+= -I${BUILDLINK_INCDIR}
-LDFLAGS+= -L${BUILDLINK_LIBDIR}
-
.include "../../mk/bsd.pkg.mk"