diff options
author | tron <tron> | 2013-12-24 15:21:24 +0000 |
---|---|---|
committer | tron <tron> | 2013-12-24 15:21:24 +0000 |
commit | a89f5221a8fefc67f8a4f3af482a4100fb988237 (patch) | |
tree | 71f22b8bd5e5fcc827a6bed7c1283f5f4c1e7a2a /chat | |
parent | a07fc152928574fd3a611276057234fac8544ed2 (diff) | |
download | pkgsrc-a89f5221a8fefc67f8a4f3af482a4100fb988237.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')
-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 |