pkgsrc-Users archive

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

Re: Problems to build libxml2 on OpenSolaris using sunpro



 > Hi all,
 > 
 > I encounter several problems compiling textproc/libxml2 on an amd64 machine
 > running OpenSolaris. The last remaining (where I don't know how to fix):

stuff the attached patches in the patches directory (or do the moral
equivilent with a local patch), and run:

bmake makepatchsum

to fix the checksums.  Note that this might break using gcc and there's
probably a better way to use it using the sunpro wrapper script, but I have
not sorted that out yet.

-Todd

$NetBSD$

deal with not building in OpenSolaris

--- configure.in.ORIG   2009-11-10 20:23:38.069699483 -0500
+++ configure.in        2009-11-10 20:23:48.617113751 -0500
@@ -75,7 +75,7 @@
 $(/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null) && \
     VERSION_SCRIPT_FLAGS=-Wl,--version-script=
 test "`uname`" == "SunOS" && \
-    VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
+    VERSION_SCRIPT_FLAGS=""
 AC_SUBST(VERSION_SCRIPT_FLAGS)
 AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -n "$VERSION_SCRIPT_FLAGS"])
 
$NetBSD$

deal with not building in OpenSolaris

--- configure.ORIG      2009-11-10 20:23:42.863882976 -0500
+++ configure   2009-11-10 20:24:10.169859202 -0500
@@ -12150,7 +12150,7 @@
 $(/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null) && \
     VERSION_SCRIPT_FLAGS=-Wl,--version-script=
 test "`uname`" = "SunOS" && \
-    VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
+    VERSION_SCRIPT_FLAGS=""
 
  if test -n "$VERSION_SCRIPT_FLAGS"; then
   USE_VERSION_SCRIPT_TRUE=


Home | Main Index | Thread Index | Old Index