Skip site navigation (1)Skip section navigation (2)
Date:      9 Jun 2002 15:28:05 -0000
From:      marc@informatik.uni-bremen.de
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jim@FreeBSD.org
Subject:   ports/39063: added a WITH_PYTHON to xchat
Message-ID:  <20020609152805.66240.qmail@leeloo.intern.geht.de>

next in thread | raw e-mail | index | archive | help

>Number:         39063
>Category:       ports
>Synopsis:       added a WITH_PYTHON to xchat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 09 08:30:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Marc Recht
>Release:        FreeBSD 4.6-RC i386
>Organization:
>Environment:
System: FreeBSD leeloo.intern.geht.de 4.6-RC FreeBSD 4.6-RC #0: Fri Jun 7 03:02:28 CEST 2002 root@leeloo.intern.geht.de:/usr/src/sys/compile/LEELOO i386


	
>Description:
I've added a WITH_PYTHON to the xchat Makefile. With it is possible to use Python scripts in xchat.
>How-To-Repeat:
	
>Fix:

	

--- xchat.diff begins here ---
diff -Nur xchat.old/Makefile xchat/Makefile
--- xchat.old/Makefile	Mon May 27 12:55:09 2002
+++ xchat/Makefile	Sun Jun  9 16:36:08 2002
@@ -29,8 +29,7 @@
 # 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" \
@@ -62,6 +61,13 @@
 			utildir="${PREFIX}/share/gnome/apps/Internet"
 .else
 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:
--- xchat.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020609152805.66240.qmail>