summaryrefslogtreecommitdiff
path: root/graphics/freetype-lib/Makefile.common
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 /graphics/freetype-lib/Makefile.common
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 'graphics/freetype-lib/Makefile.common')
-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"