Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 18:22:19 -0700 (MST)
From:      Greg Juilfs <xcas@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48964: 
Message-ID:  <200303060122.h261MJ5w000258@bsd-unix.org>

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

>Number:         48964
>Category:       ports
>Synopsis:       
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 05 17:30:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Greg Juilfs <xcas@cox.net>
>Release:        FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD bsd-unix.org 4.8-RC FreeBSD 4.8-RC #0: Mon Mar 3 21:38:13 MST 2003 cas@localhost:/usr/obj/usr/src/sys/KADAFI i386
>Description:
Update port: irc/xchat2 (2.0.0 to 2.0.1)
>How-To-Repeat:
>Fix:
--- xchat2.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xchat2
#	xchat2/files
#	xchat2/files/patch-Makefile.in
#	xchat2/files/patch-configure
#	xchat2/Makefile
#	xchat2/distinfo
#	xchat2/pkg-descr
#	xchat2/pkg-plist
#
echo c - xchat2
mkdir -p xchat2 > /dev/null 2>&1
echo c - xchat2/files
mkdir -p xchat2/files > /dev/null 2>&1
echo x - xchat2/files/patch-Makefile.in
sed 's/^X//' >xchat2/files/patch-Makefile.in << 'END-of-xchat2/files/patch-Makefile.in'
X--- Makefile.in.orig	Wed Mar  5 06:58:00 2003
X+++ Makefile.in	Wed Mar  5 06:57:46 2003
X@@ -147,7 +147,7 @@
X icondir = $(datadir)/pixmaps
X 
X util_DATA = xchat.desktop
X-utildir = $(datadir)/applications
X+utildir = $(datadir)/apps/Internet
X subdir = .
X ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
X mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
END-of-xchat2/files/patch-Makefile.in
echo x - xchat2/files/patch-configure
sed 's/^X//' >xchat2/files/patch-configure << 'END-of-xchat2/files/patch-configure'
X--- configure.orig	Wed Mar  5 07:12:26 2003
X+++ configure	Wed Mar  5 07:15:05 2003
X@@ -7355,6 +7355,7 @@
X 
X # This can be used to rebuild libtool when needed
X LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
X+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
X 
X # Always use our own libtool.
X LIBTOOL='$(SHELL) $(top_builddir)/libtool'
X@@ -10378,7 +10379,7 @@
X #include "confdefs.h"
X #include <libintl.h>
X extern int _nl_msg_cat_cntr;
X-extern int *_nl_domain_bindings;
X+extern int *libintl_nl_domain_bindings;
X #ifdef F77_DUMMY_MAIN
X #  ifdef __cplusplus
X      extern "C"
X@@ -10389,7 +10390,7 @@
X main ()
X {
X bindtextdomain ("", "");
X-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
X+return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings
X   ;
X   return 0;
X }
END-of-xchat2/files/patch-configure
echo x - xchat2/Makefile
sed 's/^X//' >xchat2/Makefile << 'END-of-xchat2/Makefile'
X# New ports collection makefile for:	xchat2
X# Date created:			5 Mar 2003
X# Whom:				Joe Marcus Clarke <marcus@FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xchat2
XPORTVERSION=	2.0.1
XCATEGORIES=	irc gnome ipv6
XMASTER_SITES=	http://xchat.org/files/source/2.0/ \
X		http://xchat.linuxpower.org/files/source/2.0/
XDISTNAME=	xchat-${PORTVERSION}
X
XMAINTAINER=	gnome@FreeBSD.org
XCOMMENT=	An X11 IRC client using the GTK+ 2 toolkit
X
XLIB_DEPENDS=	gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20
X
XUSE_X_PREFIX=	yes
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_PERL5=	yes
XUSE_GNOMENG=	yes
XUSE_GNOME=	gnomeprefix gnomehack
XUSE_LIBTOOL=	yes
XUSE_REINPLACE=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
X		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
XCONFIGURE_ARGS=	--enable-nls \
X		--enable-ipv6 \
X		--enable-perl
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_SOCKS)
XBUILD_DEPENDS+=	${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
XCONFIGURE_ARGS+=	--enable-socks
X.endif
X
X# openssl in now default in configure
X
X.if defined(WITH_PYTHON)
XUSE_PYTHON=    yes
XCONFIGURE_ARGS+=	--enable-python
XPLIST_SUB+=	PYTHON=""
X.else
XCONFIGURE_ARGS+=	--disable-python
XPLIST_SUB+=	PYTHON="@comment "
X.endif
X
X.if defined(WITH_TCL)
XLIB_DEPENDS=    tcl83.1:${PORTSDIR}/lang/tcl83
XCONFIGURE_ARGS+=	--enable-tcl=${LOCALBASE}/lib/tcl8.3
XCONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
X		-I${LOCALBASE}/include/tcl8.3" \
X		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} \
X		-L${LOCALBASE}/lib/tcl8.3"
XPLIST_SUB+=	TCL=""
X.else
XCONFIGURE_ARGS+=	--enable-tcl=no
XPLIST_SUB+=	TCL="@comment "
X.endif
X
Xpre-everything::
X.if !defined(WITH_PYTHON) || !defined(WITH_SOCKS) || !defined(WITH_TCL)
X	@${ECHO_MSG} "You may specify the following on the command line:"
X	@${ECHO_MSG} ""
X.endif
X.if !defined(WITH_PYTHON)
X	@${ECHO_MSG} "WITH_PYTHON=yes for Python support"
X.endif
X.if !defined(WITH_SOCKS)
X	@${ECHO_MSG} "WITH_SOCKS=yes for SOCKS5 proxy support"
X.endif
X.if !defined(WITH_TCL)
X	@${ECHO_MSG} "WITH_TCL=yes for tcl support"
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} \
X		-e 's|-lpthread|${PTHREAD_LIBS}|g;' \
X		${WRKSRC}/configure
X
X.include <bsd.port.post.mk>
END-of-xchat2/Makefile
echo x - xchat2/distinfo
sed 's/^X//' >xchat2/distinfo << 'END-of-xchat2/distinfo'
XMD5 (xchat-2.0.1.tar.bz2) = d0fcc1137e704c2fe9417799e3e6e49c
END-of-xchat2/distinfo
echo x - xchat2/pkg-descr
sed 's/^X//' >xchat2/pkg-descr << 'END-of-xchat2/pkg-descr'
XXChat is a graphical IRC client.  It requires a computer running a
XUNIX-like OS and the X Window System (X11), and the GTK 2 library.  It can
Xalso use Perl and (optionally) Python scripts.
X
XWWW:	http://xchat.org/
END-of-xchat2/pkg-descr
echo x - xchat2/pkg-plist
sed 's/^X//' >xchat2/pkg-plist << 'END-of-xchat2/pkg-plist'
Xbin/xchat
Xbin/xchat-text
Xlib/xchat/plugins/perl.so
X%%PYTHON%%lib/xchat/plugins/python.so
X%%TCL%%lib/xchat/plugins/tcl.so
Xshare/gnome/apps/Internet/xchat.desktop
Xshare/gnome/pixmaps/xchat.png
Xshare/locale/am/LC_MESSAGES/xchat.mo
Xshare/locale/ca/LC_MESSAGES/xchat.mo
Xshare/locale/de/LC_MESSAGES/xchat.mo
Xshare/locale/el/LC_MESSAGES/xchat.mo
Xshare/locale/es/LC_MESSAGES/xchat.mo
Xshare/locale/et/LC_MESSAGES/xchat.mo
Xshare/locale/lt/LC_MESSAGES/xchat.mo
Xshare/locale/lv/LC_MESSAGES/xchat.mo
Xshare/locale/nl/LC_MESSAGES/xchat.mo
Xshare/locale/no/LC_MESSAGES/xchat.mo
Xshare/locale/sk/LC_MESSAGES/xchat.mo
Xshare/locale/sl/LC_MESSAGES/xchat.mo
Xshare/locale/sv/LC_MESSAGES/xchat.mo
X@dirrm lib/xchat/plugins
X@dirrm lib/xchat
END-of-xchat2/pkg-plist
exit
--- xchat2.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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