Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/base
In directory vz-cvs-3.sog:/tmp/cvs-serv17756

Modified Files:
        gettext-tools.info 
Log Message:
prepare for the future


Index: gettext-tools.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/base/gettext-tools.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- gettext-tools.info  20 Jul 2011 13:29:03 -0000      1.1
+++ gettext-tools.info  29 Jun 2012 22:22:02 -0000      1.2
@@ -7,9 +7,14 @@
 PatchFile: libgettext8-shlibs.patch
 PatchFile-MD5: 9db9231d64d3580f367190aeee292ee6
 PatchScript: <<
+#!/bin/sh -ex
  patch -p1 < %{PatchFile}
  perl -pi -e 's/.*chmod.*777.*$//g' build-aux/ltmain.sh
  perl -pi -e 's/extern char \*stpncpy \(char \*dest, const char \*src, size_t 
n\)\;//g' gettext-tools/configure
+ darwin_vers=`uname -r | cut -d. -f1`
+ if [ "$darwin_vers" -ge 11 ]; then
+   perl -pi -e 's/\$\(CCLD\) \$\(AM_CFLAGS\) \$\(CFLAGS\) 
\$\(xgettext_LDFLAGS\) \$\(LDFLAGS\)/llvm-gcc-4.2 \$\(AM_CFLAGS\) \$\(CFLAGS\) 
\$\(xgettext_LDFLAGS\) \$\(LDFLAGS\)/g' gettext-tools/src/Makefile.in
+ fi
 <<
 Depends: <<
        expat1-shlibs (>= 2.0.1-1),


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to