summaryrefslogtreecommitdiffstats
path: root/irc/xchat2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/xchat2/Makefile')
-rw-r--r--irc/xchat2/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/irc/xchat2/Makefile b/irc/xchat2/Makefile
index 189bb83..f3428d4 100644
--- a/irc/xchat2/Makefile
+++ b/irc/xchat2/Makefile
@@ -45,6 +45,7 @@ CONFIGURE_ARGS+= --enable-socks
.if defined(WITH_GNOME)
CONFIGURE_ARGS+= --enable-gnome
+PLIST_SUB+= GNOME:=""
.if defined(WITH_PANEL)
CONFIGURE_ARGS+= --enable-panel
.else
@@ -52,6 +53,7 @@ CONFIGURE_ARGS+= --disable-panel
.endif
.else
CONFIGURE_ARGS+= --disable-gnome
+PLIST_SUB+= GNOME:="@comment "
.endif
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -59,10 +61,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GLIB_CONFIG="${GLIB_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
-.if defined(WITH_GNOME)
-PLIST= ${PKGDIR}/PLIST.gnome
-.endif
-
post-install:
@strip ${PREFIX}/bin/xchat
.if !defined(NOPORTDOCS)
OpenPOWER on IntegriCloud