[107652] trunk/dports/gnome/gnome-doc-utils
jeremyhu at macports.org
jeremyhu at macports.org
Wed Jul 3 15:33:26 PDT 2013
Revision: 107652
https://trac.macports.org/changeset/107652
Author: jeremyhu at macports.org
Date: 2013-07-03 15:33:26 -0700 (Wed, 03 Jul 2013)
Log Message:
-----------
gnome-doc-utils: Don't bother checking INTLTOOL_PERL
Modified Paths:
--------------
trunk/dports/gnome/gnome-doc-utils/Portfile
Added Paths:
-----------
trunk/dports/gnome/gnome-doc-utils/files/
trunk/dports/gnome/gnome-doc-utils/files/no-intltool-perl.patch
Modified: trunk/dports/gnome/gnome-doc-utils/Portfile
===================================================================
--- trunk/dports/gnome/gnome-doc-utils/Portfile 2013-07-03 22:31:02 UTC (rev 107651)
+++ trunk/dports/gnome/gnome-doc-utils/Portfile 2013-07-03 22:33:26 UTC (rev 107652)
@@ -41,8 +41,10 @@
port:rarian \
port:iso-codes
+# Pickup saner intltool macros
+patchfiles no-intltool-perl.patch
+
# The perl executable should be the one explicitly required by intltool
-configure.env-append INTLTOOL_PERL=${prefix}/bin/perl5.12
configure.args --disable-scrollkeeper
variant python25 conflicts python26 python27 description {Use python 2.5} {
Added: trunk/dports/gnome/gnome-doc-utils/files/no-intltool-perl.patch
===================================================================
--- trunk/dports/gnome/gnome-doc-utils/files/no-intltool-perl.patch (rev 0)
+++ trunk/dports/gnome/gnome-doc-utils/files/no-intltool-perl.patch 2013-07-03 22:33:26 UTC (rev 107652)
@@ -0,0 +1,81 @@
+--- configure.orig 2013-07-03 15:25:06.000000000 -0700
++++ configure 2013-07-03 15:25:30.000000000 -0700
+@@ -638,7 +638,6 @@ LDFLAGS
+ CFLAGS
+ CC
+ ALL_LINGUAS
+-INTLTOOL_PERL
+ GMSGFMT
+ MSGFMT
+ MSGMERGE
+@@ -4806,70 +4805,6 @@ if test -z "$xgversion" -o -z "$mmversio
+ as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
+ fi
+
+-# Extract the first word of "perl", so it can be a program name with args.
+-set dummy perl; ac_word=$2
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+-$as_echo_n "checking for $ac_word... " >&6; }
+-if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
+- $as_echo_n "(cached) " >&6
+-else
+- case $INTLTOOL_PERL in
+- [\\/]* | ?:[\\/]*)
+- ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
+- ;;
+- *)
+- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+- IFS=$as_save_IFS
+- test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+- ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
+- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+- break 2
+- fi
+-done
+- done
+-IFS=$as_save_IFS
+-
+- ;;
+-esac
+-fi
+-INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
+-if test -n "$INTLTOOL_PERL"; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
+-$as_echo "$INTLTOOL_PERL" >&6; }
+-else
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+-fi
+-
+-
+-if test -z "$INTLTOOL_PERL"; then
+- as_fn_error $? "perl not found" "$LINENO" 5
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
+-$as_echo_n "checking for perl >= 5.8.1... " >&6; }
+-$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
+-if test $? -ne 0; then
+- as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
+-else
+- IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
+-$as_echo "$IT_PERL_VERSION" >&6; }
+-fi
+-if test "x" != "xno-xml"; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
+-$as_echo_n "checking for XML::Parser... " >&6; }
+- if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+-$as_echo "ok" >&6; }
+- else
+- as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
+- fi
+-fi
+-
+ # Substitute ALL_LINGUAS so we can use it in po/Makefile
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130703/d96bea50/attachment.html>
More information about the macports-changes
mailing list