Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/crypto
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv14316

Modified Files:
        ejabberd.info 
Log Message:
move patching to PatchScript; sanity-tweaks for PWD


Index: ejabberd.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/crypto/ejabberd.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ejabberd.info       1 Jul 2010 01:37:10 -0000       1.1
+++ ejabberd.info       12 Jan 2011 19:00:14 -0000      1.2
@@ -9,33 +9,37 @@
 License: GPL
 DocFiles: COPYING doc/*
 ConfFiles: %p/etc/ejabberd/ejabberd.cfg
+PatchScript: <<
+#!/bin/sh -ev
+       pushd src
+               perl -i -pe "s:-fpic -shared:-fPIC -bundle -flat_namespace 
-undefined suppress:g" \
+                       Makefile.in \
+                       mod_irc/Makefile.in \
+                       stringprep/Makefile.in \
+                       tls/Makefile.in
+               perl -i -pe "s:/var/log:%p/var/log:g" Makefile.in
+               perl -i -pe "s:/var/lib:%p/lib:g" Makefile.in
+               perl -i -pe "s:/etc:%p/etc:g" Makefile.in
+<<
 ConfigureParams: --with-erlang=%p --with-openssl=%p --with-expat=%p 
--with-libiconv-prefix=%p
 CompileScript: <<
- #!/bin/sh -ev
- PATH=%p/bin:${PATH}
- export PATH
- cd src
- perl -i -pe "s:-fpic -shared:-fPIC -bundle -flat_namespace -undefined 
suppress:g" \
-   Makefile.in \
-   mod_irc/Makefile.in \
-   stringprep/Makefile.in \
-   tls/Makefile.in
- perl -i -pe "s:/var/log:%p/var/log:g" Makefile.in
- perl -i -pe "s:/var/lib:%p/lib:g" Makefile.in
- perl -i -pe "s:/etc:%p/etc:g" Makefile.in
- ./configure %c
- make
- cd ..
- perl -i -pe "s:exec:cd %p/lib/ejabberd/ebin\nexec:g" tools/ejabberdctl
+#!/bin/sh -ev
+       PATH=%p/bin:${PATH}
+       export PATH
+       pushd src
+               ./configure %c
+               make
+       popd
+       perl -i -pe "s:exec:cd %p/lib/ejabberd/ebin\nexec:g" tools/ejabberdctl
 <<
 InstallScript: <<
- #!/bin/sh -ev
- cd src
- make install DESTDIR=%d
- cd ..
- mkdir %i/sbin
- cp tools/ejabberdctl %i/sbin/ejabberdctl
- mkdir -p %i/share/doc/ejabberd/
+#!/bin/sh -ev
+       pushd src
+               make install DESTDIR=%d
+       popd
+       mkdir %i/sbin
+       cp tools/ejabberdctl %i/sbin/ejabberdctl
+       mkdir -p %i/share/doc/ejabberd/
 <<
 Maintainer: None <fink-de...@lists.sourceforge.net>
 Homepage: http://ejabberd.jabber.ru/


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to