Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv9930

Modified Files:
        plplot.info 
Log Message:
hopefully fixing duplicate symbols errors with ld64

Index: plplot.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/plplot.info,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- plplot.info 3 Jan 2008 16:35:38 -0000       1.38
+++ plplot.info 4 Jan 2008 19:10:46 -0000       1.39
@@ -1,7 +1,7 @@
 Info2: <<
 Package: plplot%type_pkg[-nognome]
 Version: 5.8.0
-Revision: 1001
+Revision: 1002
 Distribution: 10.4, 10.5
 GCC: 4.0
 Type: -nognome (boolean)
@@ -49,14 +49,15 @@
  ## In bindings/gnome2/python :
  # 1) correct hard-coded addresses for pygtk2-gtk :
  # 2) PYGTK_DEFS are not the path to gnome.defs
- # 3) use '-m' flag (just for the link commands where needed) to allow for
- # undefined symbols (they all come from the same dir, so hopefully 
compatible..)
  sed -i.bak -e 's,/usr/share,%p/lib,' \
        -e '/^PYGTK_DEFS=/a\
 PYGNOME_DEFS=`pkg-config --variable=defsdir gnome-python-2.0`'\
        -e 's,PYGTK\(_DEFS)/\(gnome\|canvas\)\),PYGNOME\1,'\
-       -e 's;^\(cplplotcanvas\|gcw\)module_la_LDFLAGS =;& -Wl,-m;'\
        bindings/gnome2/python/Makefile.am
+ # To avoid multiply-defined symbols errors :
+ sed -i.bak -e '/pygobject\.h/i\
+#define NO_IMPORT_PYGOBJECT\
+#define NO_IMPORT_ARRAY' bindings/gnome2/python/*.c
  ## circumvent ltdl error on get-drv-info for gcw _ still to be understood, 
and corrected at the proper place.:
  # At least, the fix points to the source of the problem much more than the 
error msg did ...
   sed -i.bak -e 's,\./get-drv-info,export 
DYLD_FALLBACK_LIBRARY_PATH=../bindings/gnome2/lib/.libs; &,' drivers/Makefile.am


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to