svn commit: r368772 - head/x11-toolkits/blt/files

Sean Bruno sbruno at FreeBSD.org
Sun Sep 21 15:36:26 UTC 2014


Author: sbruno
Date: Sun Sep 21 15:36:25 2014
New Revision: 368772
URL: http://svnweb.freebsd.org/changeset/ports/368772
QAT: https://qat.redports.org/buildarchive/r368772/

Log:
  Patch configure to use ${CC} instead of ld to link the two shared objects it
  creates. This fixes a problem on arm where the shared object will attempt to
  access symbols in libgcc, however the .so files don't link against libgcc the
  build fails.
  
  PR:		193791
  Submitted by:	andrew
  Reviewed by:	tijl
  Approved by:	bapt (mentor)

Modified:
  head/x11-toolkits/blt/files/patch-configure

Modified: head/x11-toolkits/blt/files/patch-configure
==============================================================================
--- head/x11-toolkits/blt/files/patch-configure	Sun Sep 21 15:29:27 2014	(r368771)
+++ head/x11-toolkits/blt/files/patch-configure	Sun Sep 21 15:36:25 2014	(r368772)
@@ -1,5 +1,5 @@
---- configure.orig	2010-11-30 17:51:02.000000000 -0500
-+++ configure
+--- configure.orig	2010-11-30 22:51:02.000000000 +0000
++++ configure	2014-09-13 06:33:34.000000000 +0000
 @@ -975,7 +975,7 @@ cat > conftest.$ac_ext << EOF
  #line 976 "configure"
  #include "confdefs.h"
@@ -141,3 +141,14 @@
      # Not available on all versions:  check for include file.
      ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
+@@ -4110,8 +4114,8 @@ fi
+ 
+     if test "$test_ok" = yes; then
+       SHLIB_CFLAGS="-fpic"
+-      SHLIB_LD="ld"
+-      SHLIB_LD_FLAGS="-Bshareable -x"
++      SHLIB_LD="${CC}"
++      SHLIB_LD_FLAGS="-shared -Wl,-x"
+     fi
+     ;;
+ 


More information about the svn-ports-head mailing list