pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42335: textproc/libxml2 does not compile on Solaris



The following reply was made to PR pkg/42335; it has been noted by GNATS.

From: Uwe Klaus <uklaus%hgb-leipzig.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/42335: textproc/libxml2 does not compile on Solaris
Date: Tue, 17 Nov 2009 16:08:36 +0100 (CET)

 On Tue, 17 Nov 2009, joern.clausen%uni-bielefeld.de@localhost wrote:
 
 >> Fix:
 The following modified patch/patch-ab worked for solaris10 sparc. But I'm 
 not sure if I do understand the semantics of VERSION_SCRIPT_FLAGS.
 
 Regards,
 Uwe
 
 --- configure.orig      2009-10-06 18:31:12.000000000 +0200
 +++ configure
 @@ -12149,10 +12149,10 @@ CC="$lt_save_CC"
   VERSION_SCRIPT_FLAGS=
   $(/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null) && \
       VERSION_SCRIPT_FLAGS=-Wl,--version-script=
 -test "`uname`" == "SunOS" && \
 +test "`uname`" = "SunOS" && \
       VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
 
 - if test -n "$VERSION_SCRIPT_FLAGS"; then
 + if test -z "$VERSION_SCRIPT_FLAGS"; then
     USE_VERSION_SCRIPT_TRUE=
     USE_VERSION_SCRIPT_FALSE='#'
   else
 @@ -19725,7 +19725,7 @@ fi
   fi
 
 
 -XML_LIBDIR='-L${libdir}'
 +XML_LIBDIR='-Wl,-R${libdir} -L${libdir}'
   XML_INCLUDEDIR='-I${includedir}/libxml2'
 
   XML_CFLAGS=""
 


Home | Main Index | Thread Index | Old Index