summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-02-25 18:34:59 +0000
committertnn <tnn@pkgsrc.org>2008-02-25 18:34:59 +0000
commitf139b2ec558e9a7e276e2cb33474aee67b5555d5 (patch)
treea240c02213d1c096d72895b32d3b9ffe80323b31 /fonts
parentf7aaf99c613d04726b63cd93acf95acd17ad2426 (diff)
downloadpkgsrc-f139b2ec558e9a7e276e2cb33474aee67b5555d5.tar.gz
- Add build dependency on libXt so configure finds X11/Intrinsic.h
- Supports installation to DESTDIR
Diffstat (limited to 'fonts')
-rw-r--r--fonts/fontforge/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/fonts/fontforge/Makefile b/fonts/fontforge/Makefile
index 0ca33df15bb..c38cee01c1c 100644
--- a/fonts/fontforge/Makefile
+++ b/fonts/fontforge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2008/02/02 09:46:49 dsainty Exp $
+# $NetBSD: Makefile,v 1.42 2008/02/25 18:34:59 tnn Exp $
DISTNAME= fontforge_full-${VERSION}
PKGNAME= fontforge-${VERSION}
@@ -13,6 +13,8 @@ COMMENT= Postscript font editor
VERSION= 20080109
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
USE_LIBTOOL= yes
@@ -22,6 +24,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-freetype-src
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+# checks for X11/Intrinsic.h
+BUILDLINK_DEPMETHOD.libXt?= build
+.include "../../x11/libXt/buildlink3.mk"
+
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"