From owner-freebsd-ports Sun Aug 26 8:40:15 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3461037B411 for ; Sun, 26 Aug 2001 08:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7QFe2l10846; Sun, 26 Aug 2001 08:40:02 -0700 (PDT) (envelope-from gnats) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by hub.freebsd.org (Postfix) with ESMTP id 497EB37B406 for ; Sun, 26 Aug 2001 08:38:58 -0700 (PDT) (envelope-from lev@ftp.translate.ru) Received: (from lev@localhost) by ftp.translate.ru (8.11.2/8.11.2) id f7QFbb722185; Sun, 26 Aug 2001 19:37:37 +0400 (MSD) (envelope-from lev) Message-Id: <200108261537.f7QFbb722185@ftp.translate.ru> Date: Sun, 26 Aug 2001 19:37:37 +0400 (MSD) From: Lev Serebryakov Reply-To: Lev Serebryakov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/30105: Port update: textproc/libxslt Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30105 >Category: ports >Synopsis: Port update: textproc/libxslt >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 Aug 26 08:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Lev Serebryakov >Release: FreeBSD 4.2-STABLE i386 >Organization: >Environment: Ports collection from 26 of August. >Description: Update port to last GNOME stable release. configure of libxslt-1.0.3 check $ltmain via `test -f', so I turn off USE_LIBTOOL. In other case $ltmain will be set to " " and even if is empty, `test -f "$ltmain"' will return false. >How-To-Repeat: >Fix: diff -crN libxslt.orig/Makefile libxslt/Makefile *** libxslt.orig/Makefile Sun Aug 26 12:16:07 2001 --- libxslt/Makefile Sun Aug 26 18:56:11 2001 *************** *** 6,12 **** # PORTNAME= libxslt ! PORTVERSION= 1.0.1 CATEGORIES= textproc gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/libxslt --- 6,12 ---- # PORTNAME= libxslt ! PORTVERSION= 1.0.3 CATEGORIES= textproc gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/libxslt *************** *** 16,22 **** LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 USE_GMAKE= yes ! USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" --- 16,26 ---- LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 USE_GMAKE= yes ! # We could not set USE_LIBTOOL, because libtool-patch set $ltmain to ! # "${LIBTOOLFLAGS} " and configure check $ltmain as ! # file (via test -f), so even space at begin of $ltmain is not good. ! #USE_LIBTOOL= yes ! GNU_CONFIGURE= yes INSTALLS_SHLIB= yes CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" diff -crN libxslt.orig/distinfo libxslt/distinfo *** libxslt.orig/distinfo Sun Aug 26 12:16:08 2001 --- libxslt/distinfo Sun Aug 26 12:22:50 2001 *************** *** 1 **** ! MD5 (libxslt-1.0.1.tar.gz) = 1c1d755b29f3039350dae14a43cea78e --- 1 ---- ! MD5 (libxslt-1.0.3.tar.gz) = f00fb387693c5f672567b2a8123c1ac9 diff -crN libxslt.orig/files/patch-ba libxslt/files/patch-ba *** libxslt.orig/files/patch-ba Thu Jan 1 03:00:00 1970 --- libxslt/files/patch-ba Sun Aug 26 19:16:32 2001 *************** *** 0 **** --- 1,24 ---- + *** work/libxslt-1.0.3/libxslt/extra.c.orig Sun Aug 26 19:12:24 2001 + --- work/libxslt-1.0.3/libxslt/extra.c Sun Aug 26 19:13:36 2001 + *************** + *** 235,241 **** + * Calling localtime() has the side-effect of setting timezone. + * After we know the timezone, we can adjust for it + */ + ! lmt = gmt - timezone; + + /* + * FIXME: it's been too long since I did manual memory management. + --- 235,246 ---- + * Calling localtime() has the side-effect of setting timezone. + * After we know the timezone, we can adjust for it + */ + ! /* + ! * May be on some stupid Linux localtime() have such side-effect, + ! * but FreeBSD DOESN'T HAVE such side-ffect, so we should use + ! * local_tm. + ! */ + ! lmt = gmt - local_tm->tm_gmtoff; + + /* + * FIXME: it's been too long since I did manual memory management. diff -crN libxslt.orig/pkg-plist libxslt/pkg-plist *** libxslt.orig/pkg-plist Sun Aug 26 12:16:08 2001 --- libxslt/pkg-plist Sun Aug 26 19:20:00 2001 *************** *** 20,29 **** include/libxslt/xslt.h include/libxslt/xsltInternals.h include/libxslt/xsltutils.h lib/libexslt.a lib/libexslt.so ! lib/libexslt.so.2 lib/libxslt.a lib/libxslt.so lib/libxslt.so.1 share/doc/libxslt/html/book1.html --- 20,32 ---- include/libxslt/xslt.h include/libxslt/xsltInternals.h include/libxslt/xsltutils.h + include/libxslt/xsltconfig.h lib/libexslt.a + lib/libexslt.la lib/libexslt.so ! lib/libexslt.so.3 lib/libxslt.a + lib/libxslt.la lib/libxslt.so lib/libxslt.so.1 share/doc/libxslt/html/book1.html >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message