Update of /cvsroot/fink/experimental/jfmertens/crypto/finkinfo
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv8730

Modified Files:
        ekiga.info evolution-data-server1.info evolution-exchange.info 
        evolution-webcal.info evolution2.info 
Log Message:
using a first template at a libtool fix
(especially when SetLIBRARY_PATH is used) _ and when autoreconf is not wanted

Index: evolution2.info
===================================================================
RCS file: /cvsroot/fink/experimental/jfmertens/crypto/finkinfo/evolution2.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- evolution2.info     27 Aug 2006 20:26:17 -0000      1.5
+++ evolution2.info     30 Aug 2006 02:29:55 -0000      1.6
@@ -16,6 +16,7 @@
 NoSetMAKEFLAGS: true
 SetMAKEFLAGS: -j1
 PatchScript: <<
+#!/bin/sh -ev
   perl -pi.bak -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure && 
perl -pi.bak -e "s/-scrollkeeper-update/#-scrollkeeper-update/g" 
help/C/Makefile.in
   perl -pi.bak -e 's,libdir\)/locale,datadir)/locale,' po/Makefile.in.in
 ## The following are 'for safety' : to avoid "implicit declararation" warnings 
(still check the ngettext thing in filter-datespec.c.)
@@ -28,7 +29,11 @@
 ## a quick fix for a bad linking _ just to see what comes next
   perl -pi.bak -e 's;\$\(LINK\);$& -Wl,-m;' 
plugins/groupwise-features/Makefile.in
 # cf e-d-s for next :
-  sed -ri.bak -e 's,(s%%/)(\[\^/\]\*\$%%%%),\1\\+\2,' `find . -name ltmain.sh`
+  for f in `find . -name ltmain.sh` ; do sed -ri.bak -e 
's,(s%%/)(\[\^/\]\*\$%%%%),\1\\+\2,' $f ; done
+  for f in `find . -name configure` ; do sed -ri.bak -e '/(host_os 
ld.so|Apple)/,+3{
+/sys_lib_search_path_spec.*\/usr\/local\/lib/c\
+sys_lib_search_path_spec=$(echo -n $(for f in `$CC -print-search-dirs|egrep 
"^libraries:"|sed -e "s,.*=,," -e "s,$PATH_SEPARATOR, ,g" -e "s,$, /lib 
/usr/lib /usr/local/lib,"`; do cd $f 2>/dev/null && pwd || : ; done|uniq))
+}' $f ; done
 <<
 ConfigureParams: --libexecdir=%p/sbin --disable-schemas-install 
--enable-static=yes --enable-ipv6=yes --enable-nntp=yes --enable-exchange=yes 
--enable-file-chooser --enable-plugins=all --with-openldap=yes --with-krb4=/usr 
--with-krb5=/usr --enable-gtk-doc --mandir=%p/share/man --enable-nss 
--with-nspr-includes=%p/include/seamonkey/nspr 
--with-nss-includes=%p/include/seamonkey/nss --with-nspr-libs=%p/lib/seamonkey 
--with-nss-libs=%p/lib/seamonkey --enable-smime=yes --enable-maintainer-mode  
--enable-compile-warnings=yes --enable-default-binary
 #  --enable-test-component=yes leads to compile errors ...

Index: evolution-webcal.info
===================================================================
RCS file: 
/cvsroot/fink/experimental/jfmertens/crypto/finkinfo/evolution-webcal.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- evolution-webcal.info       25 Aug 2006 03:45:34 -0000      1.7
+++ evolution-webcal.info       30 Aug 2006 02:29:55 -0000      1.8
@@ -10,6 +10,15 @@
 NoSetCPPFLAGS: true
 SetCPPFLAGS: -no-cpp-precomp
 SetCFLAGS: -O3 -fstrict-aliasing
+PatchScript: <<
+#!/bin/sh -ev
+# cf e-d-s for next :
+  for f in `find . -name ltmain.sh` ; do sed -ri.bak -e 
's,(s%%/)(\[\^/\]\*\$%%%%),\1\\+\2,' $f ; done
+  for f in `find . -name configure` ; do sed -ri.bak -e '/(host_os 
ld.so|Apple)/,+3{
+/sys_lib_search_path_spec.*\/usr\/local\/lib/c\
+sys_lib_search_path_spec=$(echo -n $(for f in `$CC -print-search-dirs|egrep 
"^libraries:"|sed -e "s,.*=,," -e "s,$PATH_SEPARATOR, ,g" -e "s,$, /lib 
/usr/lib /usr/local/lib,"`; do cd $f 2>/dev/null && pwd || : ; done|uniq))
+}' $f ; done
+<<
 ConfigureParams: --libexecdir=%p/sbin
 CompileScript: <<
 #!/bin/sh -ev

Index: evolution-data-server1.info
===================================================================
RCS file: 
/cvsroot/fink/experimental/jfmertens/crypto/finkinfo/evolution-data-server1.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- evolution-data-server1.info 27 Aug 2006 20:26:17 -0000      1.5
+++ evolution-data-server1.info 30 Aug 2006 02:29:55 -0000      1.6
@@ -15,12 +15,22 @@
 NoSetMAKEFLAGS: true
 SetMAKEFLAGS: -j1
 PatchScript: <<
+#!/bin/sh -ev
   perl -pi.bak -e 's,libdir\)/locale,datadir)/locale,' po/Makefile.in.in
   perl -pi.bak -e 's,unistd\.h>,$&\n#include <arpa/nameser_compat.h>,' 
servers/exchange/lib/e2k-autoconfig.c
   # Next line doesn't seem to help ( eg, to rm -L%p/lib flags from the .la 
files). 
 #  perl -pi.bak -e 's,^( 
*(sys_lib_dlsearch_path_spec)=)["'"'"']\/.*,$&\n$1"%p/lib \$$2",' `find . -name 
configure`
-  # Next fixes major trouble with libtool 
-  sed -ri.bak -e 's,(s%%/)(\[\^/\]\*\$%%%%),\1\\+\2,' `find . -name ltmain.sh`
+### Next fixes major trouble with libtool (2d fixes the cause of the problem 
in typical configure scripts,
+  # this line may still prevent the trouble for irregular or old configure 
scripts , that escape the next fix.)  
+  for f in `find . -name ltmain.sh` ; do sed -ri.bak -e 
's,(s%%/)(\[\^/\]\*\$%%%%),\1\\+\2,' $f ; done
+# This should cover all configure scripts generated by relatively recent 
versions of libtool and autoconf,
+# taking care to affect only the crucial instructions. The latter aspect is 
just for aesthetic reasons;
+# if there was a need, there should be no problem with fixing this way all 
assignments to sys_lib_search_path_spec
+# in the configure scripts.
+  for f in `find . -name configure` ; do sed -ri.bak -e '/(host_os 
ld.so|Apple)/,+3{
+/sys_lib_search_path_spec.*\/usr\/local\/lib/c\
+sys_lib_search_path_spec=$(echo -n $(for f in `$CC -print-search-dirs|egrep 
"^libraries:"|sed -e "s,.*=,," -e "s,$PATH_SEPARATOR, ,g" -e "s,$, /lib 
/usr/lib /usr/local/lib,"`; do cd $f 2>/dev/null && pwd || : ; done|uniq))
+}' $f ; done
 <<
 ConfigureParams: --libexecdir=%p/sbin --enable-static --enable-ipv6=yes 
--enable-nntp=yes --enable-gtk-doc --enable-file-locking=fcntl --with-krb4=/usr 
--with-krb5=/usr --with-openldap=yes --enable-smime=yes 
--with-nspr-includes=%p/include/seamonkey/nspr 
--with-nss-includes=%p/include/seamonkey/nss --with-nspr-libs=%p/lib/seamonkey 
--with-nss-libs=%p/lib/seamonkey --enable-reentrant --enable-maintainer-mode 
--enable-compile-warnings=yes --enable-python --enable-rpc --enable-tcl 
--with-tcl=%p/lib --enable-test
 ## Using --libexecdir=%p/sbin (and hence same in all evo pkgs) for policy 
conformance (despite disagreeing:

Index: ekiga.info
===================================================================
RCS file: /cvsroot/fink/experimental/jfmertens/crypto/finkinfo/ekiga.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ekiga.info  25 Aug 2006 03:45:34 -0000      1.4
+++ ekiga.info  30 Aug 2006 02:29:55 -0000      1.5
@@ -26,6 +26,7 @@
 Source: mirror:gnome:sources/%n/2.0/%n-%v.tar.bz2
 Source-MD5: d593da6ac49dce495ef4c6ada06b54b6
 PatchScript: <<
+#!/bin/sh -ev
 # to strip binaries (cf LDFLAGS):
  echo '__mh_execute_header' > symlst
 # allow enabling sdl on macosx: doesn't work because of undefined symbol 
_SDL_main (persists despite aggressive dead-stripping...)
@@ -36,6 +37,12 @@
  sed -ri -e '/darwin\* \)/,+2{ s, \-DSTATIC_LIBS_USED,, ; 
s,-lh323_Darwin_ppc_r_s -lpt_Darwin_ppc_r_s,-lpt -lopal, }' configure
 # this check fails (others too, so comment out, and just use -ik for check):
 # sed -ri.bak -e '/^check\-doc\-docs: /,+11{ /^[[:space:]]/d }' 
help/Makefile.in
+# cf e-d-s for next :
+  for f in `find . -name ltmain.sh` ; do sed -ri.bak -e 
's,(s%%/)(\[\^/\]\*\$%%%%),\1\\+\2,' $f ; done
+  for f in `find . -name configure` ; do sed -ri.bak -e '/(host_os 
ld.so|Apple)/,+3{
+/sys_lib_search_path_spec.*\/usr\/local\/lib/c\
+sys_lib_search_path_spec=$(echo -n $(for f in `$CC -print-search-dirs|egrep 
"^libraries:"|sed -e "s,.*=,," -e "s,$PATH_SEPARATOR, ,g" -e "s,$, /lib 
/usr/lib /usr/local/lib,"`; do cd $f 2>/dev/null && pwd || : ; done|uniq))
+}' $f ; done
 <<
 NoSetLDFLAGS: true
 SetLDFLAGS: -Wl,-x -exported_symbols_list %b/symlst -dead_strip

Index: evolution-exchange.info
===================================================================
RCS file: 
/cvsroot/fink/experimental/jfmertens/crypto/finkinfo/evolution-exchange.info,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- evolution-exchange.info     25 Aug 2006 03:45:34 -0000      1.10
+++ evolution-exchange.info     30 Aug 2006 02:29:55 -0000      1.11
@@ -16,10 +16,17 @@
 NoSetMAKEFLAGS: true
 SetMAKEFLAGS: -j1
 PatchScript: <<
+#!/bin/sh -ev
   perl -pi.bak -e 's,libdir\)/locale,datadir)/locale,' po/Makefile.in.in
   perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure
   perl -pi.bak -e 's,unistd.h>,$&\n\#include <string.h>,' 
mail/mail-stub-listener.c
   perl -pi.bak -e 's,session.h>,$&\n\#include 
"camel/camel-exchange-summary.h",' camel/camel-exchange-store.c
+# cf e-d-s for next :
+  for f in `find . -name ltmain.sh` ; do sed -ri.bak -e 
's,(s%%/)(\[\^/\]\*\$%%%%),\1\\+\2,' $f ; done
+  for f in `find . -name configure` ; do sed -ri.bak -e '/(host_os 
ld.so|Apple)/,+3{
+/sys_lib_search_path_spec.*\/usr\/local\/lib/c\
+sys_lib_search_path_spec=$(echo -n $(for f in `$CC -print-search-dirs|egrep 
"^libraries:"|sed -e "s,.*=,," -e "s,$PATH_SEPARATOR, ,g" -e "s,$, /lib 
/usr/lib /usr/local/lib,"`; do cd $f 2>/dev/null && pwd || : ; done|uniq))
+}' $f ; done
 <<
 ConfigureParams: --libexecdir=%p/sbin --enable-static=yes --enable-gtk-doc 
--mandir=%p/share/man --with-openldap=yes --with-krb5=/usr 
--enable-maintainer-mode --enable-compile-warnings=yes
 CompileScript: <<


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to