[80890] trunk/dports/www/redland

pixilla at macports.org pixilla at macports.org
Wed Jul 20 08:16:36 PDT 2011


Revision: 80890
          http://trac.macports.org/changeset/80890
Author:   pixilla at macports.org
Date:     2011-07-20 08:16:34 -0700 (Wed, 20 Jul 2011)
Log Message:
-----------
www/redland: Help configure find bdb version.

Modified Paths:
--------------
    trunk/dports/www/redland/Portfile

Added Paths:
-----------
    trunk/dports/www/redland/files/patch-configure.diff

Modified: trunk/dports/www/redland/Portfile
===================================================================
--- trunk/dports/www/redland/Portfile	2011-07-20 15:03:15 UTC (rev 80889)
+++ trunk/dports/www/redland/Portfile	2011-07-20 15:16:34 UTC (rev 80890)
@@ -16,7 +16,8 @@
 checksums           sha1    f1b0db76eb02946a1f794b35db726ddfdc936ad6 \
                     rmd160  1ebc4a9eb73e022691a34677c5eaf5f17da56d32
 
-patchfiles          patch-redland-raptor2-headers.diff
+patchfiles          patch-configure.diff \
+                    patch-redland-raptor2-headers.diff
 
 patch.pre_args      -p1
 

Added: trunk/dports/www/redland/files/patch-configure.diff
===================================================================
--- trunk/dports/www/redland/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/www/redland/files/patch-configure.diff	2011-07-20 15:16:34 UTC (rev 80890)
@@ -0,0 +1,24 @@
+diff -ru a/configure b/configure
+--- a/configure	2011-07-20 08:09:48.000000000 -0700
++++ b/configure	2011-07-20 08:12:04.000000000 -0700
+@@ -12789,6 +12789,8 @@
+        done
+      done
+ 
++  else
++    bdb_version=`sed -ne 's/^.*DB_VERSION_STRING.*Berkeley DB \(...\).*/\1/p' $bdb_include_dir/db.h`
+   fi
+ 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking BDB version" >&5
+diff -ru a/configure.ac b/configure.ac
+--- a/configure.ac	2011-07-20 08:09:48.000000000 -0700
++++ b/configure.ac	2011-07-20 08:11:41.000000000 -0700
+@@ -283,6 +283,8 @@
+        done
+      done
+ 
++  else
++    bdb_version=`sed -ne 's/^.*DB_VERSION_STRING.*Berkeley DB \(...\).*/\1/p' $bdb_include_dir/db.h`
+   fi
+ 
+   AC_MSG_CHECKING(BDB version)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110720/a30b14cf/attachment.html>


More information about the macports-changes mailing list