summaryrefslogtreecommitdiff
path: root/x11/mlterm/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-02-05 23:28:58 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-02-05 23:28:58 +0000
commita970d7128e09378417d32c4065430f08c0158a0b (patch)
tree39f4cb3ee03b2ff865be9bd60778e6becaedd02e /x11/mlterm/Makefile
parent85c7de59d7cbd2f1391894a84e1f06613f4b94d2 (diff)
downloadpkgsrc-a970d7128e09378417d32c4065430f08c0158a0b.tar.gz
only enable antialiasing if Xft exists on this system. Fixes recently
noted compile problems on 1.6 alpha.
Diffstat (limited to 'x11/mlterm/Makefile')
-rw-r--r--x11/mlterm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile
index da290d08dad..46bc2d81b16 100644
--- a/x11/mlterm/Makefile
+++ b/x11/mlterm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2002/12/31 15:13:45 uebayasi Exp $
+# $NetBSD: Makefile,v 1.12 2003/02/05 23:28:58 dmcmahill Exp $
DISTNAME= mlterm-2.6.2
CATEGORIES= x11
@@ -15,13 +15,16 @@ USE_BUILDLINK2= yes
USE_X11= yes
USE_LIBTOOL= yes
+USE_GMAKE= yes
LIBTOOL_OVERRIDE+= ${WRKSRC}/mkf/autoconf/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/autoconf/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/kiklib/autoconf/libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-imagelib=imlib
+.if exists(${X11BASE}/lib/libXft.a)
CONFIGURE_ARGS+= --enable-anti-alias
+.endif
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | \