summaryrefslogtreecommitdiff
path: root/japanese
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 /japanese
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 'japanese')
-rw-r--r--japanese/vflib-lib/Makefile.common9
1 files changed, 3 insertions, 6 deletions
diff --git a/japanese/vflib-lib/Makefile.common b/japanese/vflib-lib/Makefile.common
index 3dbab4af40a..226f3007c04 100644
--- a/japanese/vflib-lib/Makefile.common
+++ b/japanese/vflib-lib/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2001/06/10 00:08:45 jlam Exp $
+# $NetBSD: Makefile.common,v 1.11 2001/06/11 02:05:11 jlam Exp $
# FreeBSD Id: Makefile,v 1.20 1999/05/03 01:58:33 steve Exp $
DISTNAME= VFlib2-${VFLIB_VERSION}
@@ -21,8 +21,8 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
.include "../../graphics/freetype-lib/buildlink.mk"
FT_LIB= ttf -lintl
-FT_INCLUDEDIR= ${BUILDLINK_INCDIR}/freetype
-FT_LIBDIR= ${BUILDLINK_LIBDIR}
+FT_INCLUDEDIR= ${BUILDLINK_DIR}/include/freetype
+FT_LIBDIR= ${BUILDLINK_DIR}/lib
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-freetype="${FT_LIB}"
@@ -30,9 +30,6 @@ CONFIGURE_ARGS+= --with-freetype-includedir=${FT_INCLUDEDIR}
CONFIGURE_ARGS+= --with-freetype-libdir=${FT_LIBDIR}
MAKE_ENV+= LOCAL_LDFLAGS="${LDFLAGS}"
-CFLAGS+= -I${BUILDLINK_INCDIR}
-LDFLAGS+= -L${BUILDLINK_LIBDIR}
-
DISTINFO_FILE= ${.CURDIR}/../../japanese/vflib-lib/distinfo
PATCHDIR= ${.CURDIR}/../../japanese/vflib-lib/patches