[19661] trunk/dports/textproc/html2text
source_changes at macosforge.org
source_changes at macosforge.org
Thu Sep 21 23:35:34 PDT 2006
Revision: 19661
http://trac.macosforge.org/projects/macports/changeset/19661
Author: markd at macports.org
Date: 2006-09-21 23:35:33 -0700 (Thu, 21 Sep 2006)
Log Message:
-----------
Closes 8814. Patch configure for 10.3.
Modified Paths:
--------------
trunk/dports/textproc/html2text/Portfile
Added Paths:
-----------
trunk/dports/textproc/html2text/files/patch-configure-panther.diff
Modified: trunk/dports/textproc/html2text/Portfile
===================================================================
--- trunk/dports/textproc/html2text/Portfile 2006-09-22 05:32:03 UTC (rev 19660)
+++ trunk/dports/textproc/html2text/Portfile 2006-09-22 06:35:33 UTC (rev 19661)
@@ -3,7 +3,7 @@
PortSystem 1.0
name html2text
version 1.3.2a
-revision 2
+revision 3
categories textproc
platforms darwin
maintainers darwinports at opendarwin.org
@@ -25,6 +25,11 @@
patchfiles patch-configure.diff
+platform darwin 7 {
+ patchfiles-delete patch-configure.diff
+ patchfiles-append patch-configure-panther.diff
+}
+
destroot {
xinstall -m 755 ${worksrcpath}/html2text ${destroot}${prefix}/bin
xinstall -m 644 ${worksrcpath}/html2text.1.gz \
Added: trunk/dports/textproc/html2text/files/patch-configure-panther.diff
===================================================================
--- trunk/dports/textproc/html2text/files/patch-configure-panther.diff (rev 0)
+++ trunk/dports/textproc/html2text/files/patch-configure-panther.diff 2006-09-22 06:35:33 UTC (rev 19661)
@@ -0,0 +1,20 @@
+--- configure.org 2004-01-12 07:47:18.000000000 -0800
++++ configure 2006-09-21 23:33:37.000000000 -0700
+@@ -39,7 +39,7 @@
+ }
+ EOF
+ CXX=unknown;
+-for i in "CC" "g++" "cc" "$CC"; do
++for i in "g++" "c++" "$CXX"; do
+ if $i -c $tmp_file.C 2>/dev/null; then
+ CXX="$i";
+ break;
+@@ -245,7 +245,7 @@
+ EOF
+ if eval "$CXX -c $LIBSTDCXX_INCLUDES $EXPLICIT $BOOL_DEFINITION $tmp_file.C" 2>/dev/null; then
+ $echo 'defined in <memory>, good';
+-else
++
+ $echo 'not defined or not working, use "./libstd/include/auto_ptr.h"';
+ AUTO_PTR_BROKEN="-DAUTO_PTR_BROKEN";
+ fi;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060921/928e3a97/attachment.html
More information about the macports-changes
mailing list