Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2001 19:37:37 +0400 (MSD)
From:      Lev Serebryakov <lev@serebryakov.spb.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30105: Port update: textproc/libxslt
Message-ID:  <200108261537.f7QFbb722185@ftp.translate.ru>

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

>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 <lev@serebryakov.spb.ru>
>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 "<flags> <path>" and even if <flags> 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} <path-to-ltmain.sh>" 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




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