summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/vflib-lib/Makefile.common14
1 files changed, 9 insertions, 5 deletions
diff --git a/japanese/vflib-lib/Makefile.common b/japanese/vflib-lib/Makefile.common
index 25d6926ca83..1fd0a7217be 100644
--- a/japanese/vflib-lib/Makefile.common
+++ b/japanese/vflib-lib/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2000/07/19 21:42:11 jlam Exp $
+# $NetBSD: Makefile.common,v 1.5 2000/07/22 08:14:57 jlam Exp $
# FreeBSD Id: Makefile,v 1.20 1999/05/03 01:58:33 steve Exp $
DISTNAME= VFlib2-${VFLIB_VERSION}
@@ -12,7 +12,7 @@ MAINTAINER= tech-pkg-ja@jp.netbsd.org
HOMEPAGE= http://TypeHack.aial.hiroshima-u.ac.jp/VFlib/
BUILD_DEPENDS+= autoconf:../../devel/autoconf
-DEPENDS+= freetype-lib-1.2:../../graphics/freetype-lib
+DEPENDS+= freetype-lib>=1.3.1:../../graphics/freetype-lib
VFLIB_VERSION= 2.24.2
PLIST_SUBST+= VFLIB_VERSION=${VFLIB_VERSION} \
@@ -21,10 +21,14 @@ PLIST_SUBST+= VFLIB_VERSION=${VFLIB_VERSION} \
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+FT_LIB= ttf -lintl
+FT_INCLUDEDIR= ${LOCALBASE}/include/freetype
+FT_LIBDIR= ${LOCALBASE}/lib
+
GNU_CONFIGURE= # defined
-CONFIGURE_ARGS+= --with-freetype="ttf -lintl" \
- --with-freetype-includedir=${LOCALBASE}/include \
- --with-freetype-libdir=${LOCALBASE}/lib
+CONFIGURE_ARGS+= --with-freetype="${FT_LIB}"
+CONFIGURE_ARGS+= --with-freetype-includedir=${FT_INCLUDEDIR}
+CONFIGURE_ARGS+= --with-freetype-libdir=${FT_LIBDIR}
MAKE_ENV+= LOCAL_LDFLAGS="${LDFLAGS}"
FILESDIR= ${.CURDIR}/../../japanese/vflib-lib/files