aboutsummaryrefslogtreecommitdiffstats
path: root/irc/xchat2/Makefile
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-07-21 13:24:44 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-07-21 13:24:44 +0800
commitf5480736249e3ed2168edf0051dcf040679bdb4f (patch)
tree7578840c045fece4867e60de2504b5b695a6aca3 /irc/xchat2/Makefile
parentf39692ab5c18c2db66d212d8ec5760744f30ad7f (diff)
downloadfreebsd-ports-gnome-f5480736249e3ed2168edf0051dcf040679bdb4f.tar.gz
freebsd-ports-gnome-f5480736249e3ed2168edf0051dcf040679bdb4f.tar.zst
freebsd-ports-gnome-f5480736249e3ed2168edf0051dcf040679bdb4f.zip
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 <chris@calldei.com>
Diffstat (limited to 'irc/xchat2/Makefile')
-rw-r--r--irc/xchat2/Makefile16
1 files changed, 14 insertions, 2 deletions
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 <jim@phrantic.phear.net>
#
-# $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: