diff options
author | grant <grant@pkgsrc.org> | 2003-05-05 06:06:11 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-05-05 06:06:11 +0000 |
commit | 8e759273b20c73dd42761235453a62343d60d559 (patch) | |
tree | e7327a4f1756eb2e4a625219afa13b55ac65f19b /chat/bitchx/Makefile | |
parent | ac28f1cadd1abb0789dc6ee3e9837fd0a84de4b3 (diff) | |
download | pkgsrc-8e759273b20c73dd42761235453a62343d60d559.tar.gz |
build with GTK support if BITCHX_WITH_GTK is defined.
no PKGREVISION bump as the default build is unchanged.
Diffstat (limited to 'chat/bitchx/Makefile')
-rw-r--r-- | chat/bitchx/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile index 13a7e6a9192..8d9f76cf22a 100644 --- a/chat/bitchx/Makefile +++ b/chat/bitchx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2003/03/29 21:20:29 salo Exp $ +# $NetBSD: Makefile,v 1.18 2003/05/05 06:06:11 grant Exp $ # DISTNAME= ircii-pana-1.0c19 @@ -23,6 +23,19 @@ post-patch: @${SED} ${FILES_SUBST_SED} \ ${WRKSRC}/doc/BitchX.1.orig > ${WRKSRC}/doc/BitchX.1 +.if defined(BITCHX_WITH_GTK) +.include "../../x11/gnome-libs/buildlink2.mk" +.include "../../x11/gtk/buildlink2.mk" +.include "../../graphics/imlib/buildlink2.mk" +CONFIGURE_ARGS+= --with-gtk +CFLAGS+= -I${PREFIX}/include/gnome-1.0 +PLIST_SUBST+= GTK="gtk" +PLIST_SUBST+= NOT_GTK="@comment " +.else +PLIST_SUBST+= GTK= +PLIST_SUBST+= NOT_GTK= +.endif + .include "../../archivers/bzip2/buildlink2.mk" .include "../../devel/ncurses/buildlink2.mk" .include "../../security/openssl/buildlink2.mk" |