summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2008-08-18 21:47:12 +0000
committertron <tron@pkgsrc.org>2008-08-18 21:47:12 +0000
commit0657124868689c9ae6c6f109669d014af72a2bb1 (patch)
tree556a6380ce06a080af5f0c449994fb9e4d0e37f8
parent8d7433535cf46e00ebb25b3e189b9172370ddf21 (diff)
downloadpkgsrc-0657124868689c9ae6c6f109669d014af72a2bb1.tar.gz
Don't enforce the use of Xft2 for rendering under Mac OS X Darwin to work
around build problems. Set appropriate linker options instead to achieve the same result. Bump package revision because of this fix which results in changes to the binary.
-rw-r--r--chat/xchat/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile
index e230b3ded2a..144d7494f84 100644
--- a/chat/xchat/Makefile
+++ b/chat/xchat/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.59 2008/08/15 17:25:31 tron Exp $
+# $NetBSD: Makefile,v 1.60 2008/08/18 21:47:12 tron Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
-PKGREVISION= 2
+PKGREVISION= 3
OWNER= tron@NetBSD.org
COMMENT= X11 (X Window System) IRC client, using the GTK2 toolkit
@@ -33,8 +33,7 @@ BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0
INSTALL_UNSTRIPPED= YES
.if empty(PKG_BUILD_OPTIONS.gtk2:Mquartz)
-LDFLAGS.Darwin+= -lX11
-CONFIGURE_ARGS+= --enable-xft
+LDFLAGS.Darwin+= -L${PREFIX}/lib -lX11
.else
CONFIGURE_ARGS+= --disable-xlib
.endif