Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19090

Modified Files:
        tclexpat.info 
Added Files:
        tclexpat.patch 
Log Message:
fix Shlibs paths


Index: tclexpat.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/tclexpat.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- tclexpat.info       19 Aug 2008 14:20:24 -0000      1.3
+++ tclexpat.info       31 Jul 2009 19:41:53 -0000      1.4
@@ -1,6 +1,6 @@
 Package: tclexpat
 Version: 2.6
-Revision: 12
+Revision: 13
 Description: XML/expat parsing routines for Tcl scripts
 DescPort: <<
 There's something weird with file locations between the parent
@@ -20,18 +20,20 @@
 License: GPL
 Maintainer: Daniel Macks <dma...@netspace.org>
 Depends: tcltk (>= 8.3-1), tcllib (>= 1.2-1), tclxml
-BuildDepends: tclxml-dev, tcltk-dev (>= 8.3-1)
+BuildDepends: tclxml-dev, tcltk-dev (>= 8.3-1), fink (>= 0.28-1)
 BuildConflicts: lclint
 # lclint installs %p/lib/Makefile, which leads configure to believe
 # it is using tcltk from tcltk's builddir, hence failure
 Source: mirror:sourceforge:tclxml/tclxml-%v.tar.gz
 Source-MD5: a54d1d6965e2123529e80d2a7ed251ec
+PatchFile: %n.patch
+PatchFile-MD5: aed2105b57db51d73eda19c8d5108c57
 PatchScript: <<
+       %{default_script}
   cd expat; ln -s ../tclexpat.c .
 <<
 ConfigureParams: --enable-shared --with-tcl=%p/lib --with-Tclxml=%p/lib
 SetCPPFLAGS: -I..
-SetLDFLAGS: -L%p/lib/Tclxml%v
 CompileScript: <<
   cd expat; ./configure %c
   cd expat; make
@@ -42,6 +44,7 @@
   mv %i/include/*.h %i/include/%n
 <<
 DocFiles: expat/expat.html
+Shlibs: !%p/lib/Tclexpat2.6/libTclexpat2.6.dylib
 SplitOff: <<
   Package: %N-dev
   Replaces: %N (<< 2.6-11)

--- NEW FILE: tclexpat.patch ---
diff -Nurd -x'*~' tclxml-3.1.orig/expat/Makefile.in tclxml-3.1/expat/Makefile.in
--- tclxml-3.1.orig/expat/Makefile.in   2002-10-09 17:17:21.000000000 -0400
+++ tclxml-3.1/expat/Makefile.in        2009-07-31 15:35:21.000000000 -0400
@@ -143,7 +143,7 @@
 RANLIB         = @RANLIB@
 SHLIB_CFLAGS   = @SHLIB_CFLAGS@
 SHLIB_LD       = @SHLIB_LD@
-SHLIB_LDFLAGS  = @SHLIB_LDFLAGS@
+SHLIB_LDFLAGS  = @SHLIB_LDFLAGS@ -install_name ${pkglibdir}/$@
 SHLIB_LD_LIBS  = @SHLIB_LD_LIBS@
 STLIB_LD       = @STLIB_LD@
 TCL_DEFS       = @TCL_DEFS@


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to