From 3b42b56e84c2de8582707312af9e72541eeb2598 Mon Sep 17 00:00:00 2001 From: Chris Piazza Date: Wed, 21 Jul 1999 05:24:44 +0000 Subject: Allow for a USE_GNOME and USE_PANEL option to enable their respective configure args instead of always disabling them. PR: 12706 Submitted by: Chris Costello --- irc/xchat2/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'irc/xchat2') diff --git a/irc/xchat2/Makefile b/irc/xchat2/Makefile index 1aec871c6923..7d3408e6e4ae 100644 --- a/irc/xchat2/Makefile +++ b/irc/xchat2/Makefile @@ -3,7 +3,7 @@ # Date created: 17 Nov 1998 # Whom: Jim Mock # -# $Id: Makefile,v 1.17 1999/07/17 03:56:06 cpiazza Exp $ +# $Id: Makefile,v 1.18 1999/07/19 03:59:57 cpiazza Exp $ # DISTNAME= xchat-1.1.3 @@ -22,7 +22,19 @@ USE_BZIP2= yes USE_GMAKE= yes USE_PERL5= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-gnome --disable-panel --disable-nls +CONFIGURE_ARGS= --disable-nls + +.if defined(USE_GNOME) +CONFIGURE_ARGS+= --enable-gnome +.if defined(USE_PANEL) +CONFIGURE_ARGS+= --enable-panel +.else +CONFIGURE_ARGS+= --disable-panel +.endif +.else +CONFIGURE_ARGS+= --disable-gnome +.endif + CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" post-install: -- cgit v1.2.3