Date: Sat, 27 Nov 2010 15:35:39 +0100 (CET) From: Christoph Moench-Tegeder <cmt@burggraben.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/152616: fix textproc/libxml2 version info Message-ID: <20101127143539.3A41EAC818@elch.exwg.net> Resent-Message-ID: <201011271500.oARF0Hmc055302@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 152616 >Category: ports >Synopsis: fix textproc/libxml2 version info >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 27 15:00:17 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Christoph Moench-Tegeder >Release: FreeBSD 8.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD elch.exwg.net 8.1-RELEASE FreeBSD 8.1-RELEASE #2: Sun Jul 18 12:05:49 CEST 2010 cmt@elch.exwg.net:/usr/obj/usr/src/sys/CMT amd64 textproc/libxml2 2.7.8 >Description: After upgrade to libxml2-2.7.8, programs depending on lilbxml2 fail with errors like /libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: version LIBXML2_2.5.7 required by /usr/local/bin/epiphany not defined As Andrey Ponomarenko observed, this is a bug in libxml2's configure script, fixed upstream in http://git.gnome.org/browse/libxml2/commit/?id=00819877651b87842ed878898ba17dba489820f0 Attached patch fixes this for the port. Note: this obsoletes ports/152612 >How-To-Repeat: Obvious. >Fix: --- files/patch-configure.orig 2010-11-27 15:26:16.000000000 +0100 +++ files/patch-configure 2010-11-27 15:26:39.000000000 +0100 @@ -1,6 +1,15 @@ ---- configure.orig 2010-03-20 17:52:35.000000000 -0400 -+++ configure 2010-03-20 17:52:35.000000000 -0400 -@@ -19865,11 +19865,12 @@ fi +--- configure.orig 2010-11-27 15:23:22.000000000 +0100 ++++ configure 2010-11-27 15:25:43.000000000 +0100 +@@ -11414,7 +11414,7 @@ + esac + fi + +- if test -z "$VERSION_SCRIPT_FLAGS"; then ++ if test -n "$VERSION_SCRIPT_FLAGS"; then + USE_VERSION_SCRIPT_TRUE= + USE_VERSION_SCRIPT_FALSE='#' + else +@@ -13501,11 +13501,12 @@ fi if test "$PYTHON_VERSION" != "" then @@ -14,7 +23,7 @@ else if test -r $prefix/include/python$PYTHON_VERSION/Python.h then -@@ -20678,6 +20679,8 @@ fi +@@ -13901,6 +13902,8 @@ fi fi ;; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101127143539.3A41EAC818>