summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2002-06-30 22:28:11 +0000
committerJim Mock <jim@FreeBSD.org>2002-06-30 22:28:11 +0000
commit62c458ab651e4c466c169909e324e1966408ec6e (patch)
tree5793fad2003cf894b6e819e5fb695a1729594cbe /irc
parentThe FreeBSD GNOME team is proud to present GNOME 2.0 Release. (diff)
Add a WITH_PYTHON knob.
PR: 39063 Submitted by: Marc Recht <marc@informatik.uni-bremen.de>
Notes
Notes: svn path=/head/; revision=62234
Diffstat (limited to 'irc')
-rw-r--r--irc/xchat-gnome/Makefile10
-rw-r--r--irc/xchat/Makefile10
-rw-r--r--irc/xchat1/Makefile10
-rw-r--r--irc/xchat2/Makefile10
4 files changed, 32 insertions, 8 deletions
diff --git a/irc/xchat-gnome/Makefile b/irc/xchat-gnome/Makefile
index aa2ce4497f7e..db2aa6c788cc 100644
--- a/irc/xchat-gnome/Makefile
+++ b/irc/xchat-gnome/Makefile
@@ -29,8 +29,7 @@ GNU_CONFIGURE= yes
# Assign with `+=' for slave ports
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -liconv"
-CONFIGURE_ARGS+= --disable-python \
- --without-included-gettext \
+CONFIGURE_ARGS+= --without-included-gettext \
--enable-nls \
--enable-ipv6 \
--datadir="${PREFIX}/share" \
@@ -64,6 +63,13 @@ MAKE_ARGS= icondir="${PREFIX}/share/gnome/pixmaps" \
CONFIGURE_ARGS+= --disable-gnome --disable-zvt
.endif
+.if defined(WITH_PYTHON)
+USE_PYTHON= yes
+CONFIGURE_ARGS+= --enable-python
+.else
+CONFIGURE_ARGS+= --disable-python
+.endif
+
post-patch:
@${PERL} -pi \
-e 's|-lpthread|${PTHREAD_LIBS}|g;' \
diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile
index aa2ce4497f7e..db2aa6c788cc 100644
--- a/irc/xchat/Makefile
+++ b/irc/xchat/Makefile
@@ -29,8 +29,7 @@ GNU_CONFIGURE= yes
# Assign with `+=' for slave ports
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -liconv"
-CONFIGURE_ARGS+= --disable-python \
- --without-included-gettext \
+CONFIGURE_ARGS+= --without-included-gettext \
--enable-nls \
--enable-ipv6 \
--datadir="${PREFIX}/share" \
@@ -64,6 +63,13 @@ MAKE_ARGS= icondir="${PREFIX}/share/gnome/pixmaps" \
CONFIGURE_ARGS+= --disable-gnome --disable-zvt
.endif
+.if defined(WITH_PYTHON)
+USE_PYTHON= yes
+CONFIGURE_ARGS+= --enable-python
+.else
+CONFIGURE_ARGS+= --disable-python
+.endif
+
post-patch:
@${PERL} -pi \
-e 's|-lpthread|${PTHREAD_LIBS}|g;' \
diff --git a/irc/xchat1/Makefile b/irc/xchat1/Makefile
index aa2ce4497f7e..db2aa6c788cc 100644
--- a/irc/xchat1/Makefile
+++ b/irc/xchat1/Makefile
@@ -29,8 +29,7 @@ GNU_CONFIGURE= yes
# Assign with `+=' for slave ports
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -liconv"
-CONFIGURE_ARGS+= --disable-python \
- --without-included-gettext \
+CONFIGURE_ARGS+= --without-included-gettext \
--enable-nls \
--enable-ipv6 \
--datadir="${PREFIX}/share" \
@@ -64,6 +63,13 @@ MAKE_ARGS= icondir="${PREFIX}/share/gnome/pixmaps" \
CONFIGURE_ARGS+= --disable-gnome --disable-zvt
.endif
+.if defined(WITH_PYTHON)
+USE_PYTHON= yes
+CONFIGURE_ARGS+= --enable-python
+.else
+CONFIGURE_ARGS+= --disable-python
+.endif
+
post-patch:
@${PERL} -pi \
-e 's|-lpthread|${PTHREAD_LIBS}|g;' \
diff --git a/irc/xchat2/Makefile b/irc/xchat2/Makefile
index aa2ce4497f7e..db2aa6c788cc 100644
--- a/irc/xchat2/Makefile
+++ b/irc/xchat2/Makefile
@@ -29,8 +29,7 @@ GNU_CONFIGURE= yes
# Assign with `+=' for slave ports
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -liconv"
-CONFIGURE_ARGS+= --disable-python \
- --without-included-gettext \
+CONFIGURE_ARGS+= --without-included-gettext \
--enable-nls \
--enable-ipv6 \
--datadir="${PREFIX}/share" \
@@ -64,6 +63,13 @@ MAKE_ARGS= icondir="${PREFIX}/share/gnome/pixmaps" \
CONFIGURE_ARGS+= --disable-gnome --disable-zvt
.endif
+.if defined(WITH_PYTHON)
+USE_PYTHON= yes
+CONFIGURE_ARGS+= --enable-python
+.else
+CONFIGURE_ARGS+= --disable-python
+.endif
+
post-patch:
@${PERL} -pi \
-e 's|-lpthread|${PTHREAD_LIBS}|g;' \