Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/base
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2070

Modified Files:
        gettext-tools.info gettext-tools-tests.patch 
Log Message:
fix lang-vala test to find missing header
test only failed if vala compiler was installed

Index: gettext-tools.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/base/gettext-tools.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- gettext-tools.info  25 Aug 2013 00:46:12 -0000      1.7
+++ gettext-tools.info  26 Aug 2013 11:13:30 -0000      1.8
@@ -7,10 +7,10 @@
 PatchFile: libgettext8-shlibs.patch
 PatchFile-MD5: 0fa124a9e56f702eb9f817ebd10aae5f
 PatchFile2: gettext-tools-tests.patch
-PatchFile2-MD5: 13aadae12a9d31bd74e282759ee9d9ac
+PatchFile2-MD5: 71a10a3e8074d681d9c9533d533556e2
 PatchScript: <<
  patch -p1 < %{PatchFile}
- patch -p1 < %{PatchFile2}
+ sed 's|@FINKPREFIX@|%p|g' < %{PatchFile2} | patch -p1
  perl -pi -e 's/.*chmod.*777.*$//g' build-aux/ltmain.sh
 <<
 Depends: <<
@@ -176,6 +176,9 @@
        lang-bash test fails because system-bash does not have iconv support.
        So we make it exit out immediately rather than failing.
 
+       lang-vala doesn't find libintl.h on its own, so we feed it a standard
+       -I include path.
+
        Don't bother checking for AIX-specific bug (test is bugged on
        clang). See:
        http://lists.gnu.org/archive/html/bug-autoconf/2010-08/msg00116.html

Index: gettext-tools-tests.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/base/gettext-tools-tests.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gettext-tools-tests.patch   25 Aug 2013 00:46:11 -0000      1.2
+++ gettext-tools-tests.patch   26 Aug 2013 11:13:30 -0000      1.3
@@ -9,3 +9,14 @@
  tmpfiles="$tmpfiles prog.bash"
  cat <<\EOF > prog.bash
  #! /bin/bash
+--- gettext-0.18.1.1/gettext-tools/tests/lang-vala     2013-08-15 
12:15:56.000000000 -0400
++++ gettext-0.18.1.1/gettext-tools/tests/lang-vala     2013-08-26 
07:05:54.000000000 -0400
+@@ -26,7 +26,7 @@
+ 
+ tmpfiles="$tmpfiles l-vala-prog.vala l-vala-prog.c l-vala-prog 
l-vala-prog.err"
+ : ${VALAC=valac}
+-${VALAC} --Xcc=-DGETTEXT_PACKAGE=\"prog\" l-vala-prog.vala 2>l-vala-prog.err \
++${VALAC} --Xcc="-I@FINKPREFIX@/include" --Xcc=-DGETTEXT_PACKAGE=\"prog\" 
l-vala-prog.vala 2>l-vala-prog.err \
+   || { cat l-vala-prog.err 1>&2; exit 1; }
+ 
+ tmpfiles="$tmpfiles l-vala-prog.tmp l-vala-prog.pot"


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to