summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-08-27 10:33:03 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-08-27 10:33:03 +0000
commited4f116ca0c98f938cf7fdf18c033416d32620b5 (patch)
tree1ed8b5ee8e42e02f2c1aebc9b219fa0ea747ea32 /textproc
parentRemove all mi-induced bogons: (diff)
Update to 1.0.3.
PR: 30105 Submitted by: Lev Serebryakov <lev@serebryakov.spb.ru>
Notes
Notes: svn path=/head/; revision=46962
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libxslt/Makefile4
-rw-r--r--textproc/libxslt/distinfo2
-rw-r--r--textproc/libxslt/files/patch-libxslt::extra.c19
-rw-r--r--textproc/libxslt/files/patch-ltmain.sh18
-rw-r--r--textproc/libxslt/pkg-plist3
5 files changed, 42 insertions, 4 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 8b0fff001484..d8785c93ca92 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libxslt
-PORTVERSION= 1.0.1
+PORTVERSION= 1.0.3
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/libxslt
@@ -16,7 +16,7 @@ MAINTAINER= gnome@FreeBSD.org
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
USE_GMAKE= yes
-USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
diff --git a/textproc/libxslt/distinfo b/textproc/libxslt/distinfo
index 07cfe3f2985c..5b627e97686c 100644
--- a/textproc/libxslt/distinfo
+++ b/textproc/libxslt/distinfo
@@ -1 +1 @@
-MD5 (libxslt-1.0.1.tar.gz) = 1c1d755b29f3039350dae14a43cea78e
+MD5 (libxslt-1.0.3.tar.gz) = f00fb387693c5f672567b2a8123c1ac9
diff --git a/textproc/libxslt/files/patch-libxslt::extra.c b/textproc/libxslt/files/patch-libxslt::extra.c
new file mode 100644
index 000000000000..b4039d8b49e8
--- /dev/null
+++ b/textproc/libxslt/files/patch-libxslt::extra.c
@@ -0,0 +1,19 @@
+
+$FreeBSD$
+
+--- libxslt/extra.c.orig Wed Aug 15 05:55:12 2001
++++ libxslt/extra.c Mon Aug 27 13:24:28 2001
+@@ -235,7 +235,12 @@
+ * Calling localtime() has the side-effect of setting timezone.
+ * After we know the timezone, we can adjust for it
+ */
+- lmt = gmt - timezone;
++ /*
++ * 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 --git a/textproc/libxslt/files/patch-ltmain.sh b/textproc/libxslt/files/patch-ltmain.sh
new file mode 100644
index 000000000000..0beb3d875b6a
--- /dev/null
+++ b/textproc/libxslt/files/patch-ltmain.sh
@@ -0,0 +1,18 @@
+
+$FreeBSD$
+
+--- ltmain.sh 2001/08/27 10:25:11 1.1
++++ ltmain.sh 2001/08/27 10:25:28
+@@ -4175,10 +4175,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/textproc/libxslt/pkg-plist b/textproc/libxslt/pkg-plist
index fe3c983a0f7c..114ad4e77a44 100644
--- a/textproc/libxslt/pkg-plist
+++ b/textproc/libxslt/pkg-plist
@@ -19,10 +19,11 @@ include/libxslt/transform.h
include/libxslt/variables.h
include/libxslt/xslt.h
include/libxslt/xsltInternals.h
+include/libxslt/xsltconfig.h
include/libxslt/xsltutils.h
lib/libexslt.a
lib/libexslt.so
-lib/libexslt.so.2
+lib/libexslt.so.3
lib/libxslt.a
lib/libxslt.so
lib/libxslt.so.1