[107542] trunk/dports/textproc/intltool
jeremyhu at macports.org
jeremyhu at macports.org
Tue Jul 2 11:31:31 PDT 2013
Revision: 107542
https://trac.macports.org/changeset/107542
Author: jeremyhu at macports.org
Date: 2013-07-02 11:31:31 -0700 (Tue, 02 Jul 2013)
Log Message:
-----------
intltool: Remove the INTLTOOL_PERL hack from client's configure scripts. It's not used and just leads to ugly hackery
Modified Paths:
--------------
trunk/dports/textproc/intltool/Portfile
Added Paths:
-----------
trunk/dports/textproc/intltool/files/
trunk/dports/textproc/intltool/files/remove-intltool-perl-hack.patch
Modified: trunk/dports/textproc/intltool/Portfile
===================================================================
--- trunk/dports/textproc/intltool/Portfile 2013-07-02 18:30:12 UTC (rev 107541)
+++ trunk/dports/textproc/intltool/Portfile 2013-07-02 18:31:31 UTC (rev 107542)
@@ -5,7 +5,7 @@
name intltool
version 0.50.2
-revision 1
+revision 2
maintainers nomaintainer
categories textproc gnome
license GPL-2+
@@ -33,6 +33,8 @@
depends_build port:gnome-common
depends_lib port:expat
+patchfiles remove-intltool-perl-hack.patch
+
# TODO: This perlver cruft should be done in the perl5 PortGroup
if {[variant_isset perl5_8]} {
set perlver 5.8
Added: trunk/dports/textproc/intltool/files/remove-intltool-perl-hack.patch
===================================================================
--- trunk/dports/textproc/intltool/files/remove-intltool-perl-hack.patch (rev 0)
+++ trunk/dports/textproc/intltool/files/remove-intltool-perl-hack.patch 2013-07-02 18:31:31 UTC (rev 107542)
@@ -0,0 +1,30 @@
+--- intltool.m4.orig 2013-07-02 11:22:23.000000000 -0700
++++ intltool.m4 2013-07-02 11:22:32.000000000 -0700
+@@ -131,27 +131,6 @@ if test -z "$xgversion" -o -z "$mmversio
+ AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
+ fi
+
+-AC_PATH_PROG(INTLTOOL_PERL, perl)
+-if test -z "$INTLTOOL_PERL"; then
+- AC_MSG_ERROR([perl not found])
+-fi
+-AC_MSG_CHECKING([for perl >= 5.8.1])
+-$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
+-if test $? -ne 0; then
+- AC_MSG_ERROR([perl 5.8.1 is required for intltool])
+-else
+- IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
+- AC_MSG_RESULT([$IT_PERL_VERSION])
+-fi
+-if test "x$2" != "xno-xml"; then
+- AC_MSG_CHECKING([for XML::Parser])
+- if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
+- AC_MSG_RESULT([ok])
+- else
+- AC_MSG_ERROR([XML::Parser perl module is required for intltool])
+- fi
+-fi
+-
+ # Substitute ALL_LINGUAS so we can use it in po/Makefile
+ AC_SUBST(ALL_LINGUAS)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130702/4d03c005/attachment.html>
More information about the macports-changes
mailing list