diff options
author | tron <tron@pkgsrc.org> | 2007-01-16 11:07:59 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2007-01-16 11:07:59 +0000 |
commit | 0e9c5b8e05365a34a688417b09615d340db5dbd5 (patch) | |
tree | d835e5cf06561a8e7fc1152e1d77292dd17c2e6f /chat | |
parent | bdf3550def6d8667faa455ec5d7932eb0673790a (diff) | |
download | pkgsrc-0e9c5b8e05365a34a688417b09615d340db5dbd5.tar.gz |
Fix build with Quartz-only GTK+ 2.x package.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/xchat/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile index 8e30fd8357b..4516f4a19c3 100644 --- a/chat/xchat/Makefile +++ b/chat/xchat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2006/11/14 10:38:36 tron Exp $ +# $NetBSD: Makefile,v 1.45 2007/01/16 11:07:59 tron Exp $ .include "Makefile.common" @@ -17,17 +17,22 @@ CONFIGURE_ARGS+= --disable-perl CONFIGURE_ARGS+= --disable-python LDFLAGS.IRIX+= -lX11 -LDFLAGS.Darwin+= -lX11 .include "../../mk/bsd.prefs.mk" .include "options.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" + .if ${OPSYS} == "Darwin" INSTALL_UNSTRIPPED= YES -.endif -.include "../../devel/gettext-lib/buildlink3.mk" -.include "../../x11/gtk2/buildlink3.mk" +.if empty(PKG_BUILD_OPTIONS.gtk2+:Mquartz) +LDFLAGS.Darwin+= -lX11 +.else +CONFIGURE_ARGS+= --disable-xlib +.endif +.endif post-install: ${INSTALL_DATA_DIR} ${PREFIX}/lib/xchat/plugins |