[103087] trunk/dports/textproc/doxygen

ryandesign at macports.org ryandesign at macports.org
Wed Feb 13 15:38:04 PST 2013


Revision: 103087
          https://trac.macports.org/changeset/103087
Author:   ryandesign at macports.org
Date:     2013-02-13 15:38:04 -0800 (Wed, 13 Feb 2013)
Log Message:
-----------
doxygen: patch configure script to use "printf" instead of "echo -n" (#37970)

Modified Paths:
--------------
    trunk/dports/textproc/doxygen/Portfile

Added Paths:
-----------
    trunk/dports/textproc/doxygen/files/patch-configure.diff

Modified: trunk/dports/textproc/doxygen/Portfile
===================================================================
--- trunk/dports/textproc/doxygen/Portfile	2013-02-13 22:40:54 UTC (rev 103086)
+++ trunk/dports/textproc/doxygen/Portfile	2013-02-13 23:38:04 UTC (rev 103087)
@@ -38,7 +38,7 @@
 depends_build-append	bin:perl:perl5 port:flex port:bison
 depends_lib		port:libpng path:bin/dot:graphviz port:libiconv
 
-patchfiles	    patch-libmd5-compiler.diff
+patchfiles	    patch-configure.diff patch-libmd5-compiler.diff
 
 patch.pre_args      -p1
 configure.universal_args-delete --disable-dependency-tracking

Added: trunk/dports/textproc/doxygen/files/patch-configure.diff
===================================================================
--- trunk/dports/textproc/doxygen/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/textproc/doxygen/files/patch-configure.diff	2013-02-13 23:38:04 UTC (rev 103087)
@@ -0,0 +1,92 @@
+--- a/configure.orig	2012-12-27 05:24:51.000000000 -0600
++++ b/configure	2013-02-13 16:49:09.000000000 -0600
+@@ -265,7 +265,7 @@
+ fi
+ 
+ if test "$f_plf_auto" = NO; then
+-  echo -n "  Checking for platform $f_platform... "
++  printf "  Checking for platform $f_platform... "
+   if test '!' -d tmake/lib/$f_platform; then
+     echo "not supported!" 
+     echo
+@@ -279,7 +279,7 @@
+ if test "$f_wizard" = YES; then
+   if test -z "$QTDIR"; then
+     echo "  QTDIR environment variable not set!"
+-    echo -n "  Checking for Qt..."
++    printf "  Checking for Qt..."
+     for d in /usr/{lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do
+       if test -x "$d/bin/qmake"; then
+         QTDIR=$d
+@@ -287,7 +287,7 @@
+     done
+   else
+     echo "  Detected Qt via the QTDIR environment variable..."
+-    echo -n "                    "
++    printf "                    "
+   fi
+   if test -z "$QTDIR"; then
+     echo "QTDIR not set and Qt not found at standard locations!"
+@@ -317,7 +317,7 @@
+    
+ # - check for make ------------------------------------------------------------
+ 
+-echo -n "  Checking for GNU make tool... "
++printf "  Checking for GNU make tool... "
+ if test "$f_make" = NO; then
+   make_names="gmake make"
+   make_dirs="$bin_dirs /usr/bin /usr/local/bin /bin /sbin"
+@@ -344,7 +344,7 @@
+ 
+ # - check for install ------------------------------------------------------------
+ 
+-echo -n "  Checking for GNU install tool... "
++printf "  Checking for GNU install tool... "
+ if test "$f_insttool" = NO; then
+   install_names="ginstall install"
+   install_dirs="$bin_dirs /usr/bin /usr/local/bin /bin /sbin /usr/ucb"
+@@ -381,7 +381,7 @@
+ 
+ # - check for dot ------------------------------------------------------------
+ 
+-echo -n "  Checking for dot (part of GraphViz)... "
++printf "  Checking for dot (part of GraphViz)... "
+ if test "$f_dot" = NO; then
+   dot_dirs="$bin_dirs /usr/bin /usr/local/bin /bin /sbin"
+   dot_prog=NO
+@@ -402,7 +402,7 @@
+ 
+ # - check for perl ------------------------------------------------------------
+ 
+-echo -n "  Checking for perl... "
++printf "  Checking for perl... "
+ if test "$f_perl" = NO; then
+   perl_names="perl perl5"
+   perl_dirs="$bin_dirs /usr/bin /usr/local/bin /bin /sbin"
+@@ -435,7 +435,7 @@
+ 
+ # - check for flex ------------------------------------------------------------
+ 
+-echo -n "  Checking for flex... "
++printf "  Checking for flex... "
+ if test "$f_flex" = NO; then
+   flex_dirs="$bin_dirs /usr/bin /usr/local/bin /bin"
+   flex_prog=NO
+@@ -459,7 +459,7 @@
+ 
+ # - check for bison ------------------------------------------------------------
+ 
+-echo -n "  Checking for bison... "
++printf "  Checking for bison... "
+ if test "$f_bison" = NO; then
+   bison_dirs="$bin_dirs /usr/bin /usr/local/bin /bin"
+   bison_prog=NO
+@@ -707,7 +707,7 @@
+ if test -f "src/lang_cfg.h"; then
+     chmod u+w src/lang_cfg.h   # make sure file can be overwritten
+ fi
+-echo -n "  Generating src/lang_cfg.h..."
++printf "  Generating src/lang_cfg.h..."
+ echo $f_langs | $f_perl -e '@l=split(/,/,<STDIN>); 
+         chomp @l; 
+ 	@allowed=(split(/,/,"NL,SV,CZ,FR,ID,IT,DE,JP,JE,ES,FI,RU,HR,PL,PT,HU,KR,KE,RO,SI,CN,NO,MK,BR,DK,SK,UA,GR,TW,SR,CA,LT,ZA,AR,FA,SC,VI,TR,EO,AM"));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130213/cf3a75ab/attachment-0001.html>


More information about the macports-changes mailing list