diff options
author | tron <tron@pkgsrc.org> | 2013-12-24 15:21:24 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2013-12-24 15:21:24 +0000 |
commit | 4607456e80a2206ba7bf42e53eccc1e7d88c5bd1 (patch) | |
tree | 71f22b8bd5e5fcc827a6bed7c1283f5f4c1e7a2a /chat/xchat | |
parent | 4178d694867442ee2db92393c8d6dd9e594f4809 (diff) | |
download | pkgsrc-4607456e80a2206ba7bf42e53eccc1e7d88c5bd1.tar.gz |
Explicitely enable XFT support unless GTK+ was compiled without X11 support
under Mac OS X. This fixes the text output under Mac OS X if GTK+ was
actually compiled with X11 support.
Diffstat (limited to 'chat/xchat')
-rw-r--r-- | chat/xchat/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile index c16cb8afd04..fbf5452c0e0 100644 --- a/chat/xchat/Makefile +++ b/chat/xchat/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.90 2013/11/27 17:09:57 khorben Exp $ +# $NetBSD: Makefile,v 1.91 2013/12/24 15:21:24 tron Exp $ .include "Makefile.common" PKGNAME= ${DISTNAME} -PKGREVISION= 20 +PKGREVISION= 21 OWNER= tron@NetBSD.org COMMENT= X11 (X Window System) IRC client, using the GTK2 toolkit @@ -30,11 +30,14 @@ BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.20.0 .if ${OPSYS} == "Darwin" INSTALL_UNSTRIPPED= YES -.if empty(PKG_BUILD_OPTIONS.gtk2:Mquartz) +. if empty(PKG_BUILD_OPTIONS.gtk2:Mquartz) +CONFIGURE_ARGS+= --enable-xft LDFLAGS.Darwin+= -L${PREFIX}/lib -lX11 -.else +. else CONFIGURE_ARGS+= --disable-xlib -.endif +. endif +.else +CONFIGURE_ARGS+= --enable-xft .endif INSTALLATION_DIRS+= share/doc/xchat lib/xchat/plugins include/xchat |