diff options
author | grant <grant> | 2003-05-05 06:06:11 +0000 |
---|---|---|
committer | grant <grant> | 2003-05-05 06:06:11 +0000 |
commit | 1f562cc24bceda5dd828e751c393bca5883f130f (patch) | |
tree | e7327a4f1756eb2e4a625219afa13b55ac65f19b | |
parent | a3a224b3007ac3d4b5e498de73f6ef4c8e9ea448 (diff) | |
download | pkgsrc-1f562cc24bceda5dd828e751c393bca5883f130f.tar.gz |
build with GTK support if BITCHX_WITH_GTK is defined.
no PKGREVISION bump as the default build is unchanged.
-rw-r--r-- | chat/bitchx/Makefile | 15 | ||||
-rw-r--r-- | chat/bitchx/PLIST | 10 |
2 files changed, 19 insertions, 6 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" diff --git a/chat/bitchx/PLIST b/chat/bitchx/PLIST index c08b742cdb7..4e19ba814dd 100644 --- a/chat/bitchx/PLIST +++ b/chat/bitchx/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.4 2003/01/31 00:17:45 salo Exp $ -bin/BitchX -bin/BitchX-1.0c19 -bin/scr-bx +@comment $NetBSD: PLIST,v 1.5 2003/05/05 06:06:11 grant Exp $ +bin/${GTK}BitchX +bin/${GTK}BitchX-1.0c19 +${NOT_GTK}bin/scr-bx man/man1/BitchX.1 share/bx/BitchX.doc share/bx/BitchX.help @@ -961,7 +961,7 @@ share/bx/translation/SWEDISH_NAMES_COM.bz2 share/bx/translation/SWISS.bz2 share/bx/translation/UNITED_KINGDOM.bz2 share/bx/translation/UNITED_KINGDOM_COM.bz2 -share/bx/wserv +${NOT_GTK}share/bx/wserv @dirrm share/bx/translation @dirrm share/bx/script @dirrm share/bx/help/8_Scripts |