Revision: 80050 http://trac.macports.org/changeset/80050 Author: ryandesign@macports.org Date: 2011-07-03 05:38:34 -0700 (Sun, 03 Jul 2011) Log Message: ----------- redland: update to 1.0.13; disable additional databases we don't have variants for yet; prevent build error when raptor port is installed Modified Paths: -------------- trunk/dports/www/redland/Portfile Modified: trunk/dports/www/redland/Portfile =================================================================== --- trunk/dports/www/redland/Portfile 2011-07-03 12:37:26 UTC (rev 80049) +++ trunk/dports/www/redland/Portfile 2011-07-03 12:38:34 UTC (rev 80050) @@ -2,7 +2,7 @@ PortSystem 1.0 name redland -version 1.0.12 +version 1.0.13 description Redland RDF Library long_description Redland is a set of free software libraries that provide \ support for the Resource Description Framework (RDF). @@ -12,28 +12,41 @@ homepage http://librdf.org/ master_sites http://download.librdf.org/source/ -checksums md5 40f37a5ad97fdfbf984f78dcea0c6115 \ - sha1 94b0f972a62c7eed0574c0e46c79cf78ece46570 \ - rmd160 1af4bd59ae8be265cfeb806eb7b99d8b32f231f5 +checksums sha1 f1b0db76eb02946a1f794b35db726ddfdc936ad6 \ + rmd160 1ebc4a9eb73e022691a34677c5eaf5f17da56d32 depends_lib port:curl \ port:libiconv \ port:libxml2 \ port:libxslt \ port:openssl \ - port:raptor \ + port:raptor2 \ port:rasqal \ port:zlib # redland-config uses pkg-config depends_lib-append port:pkgconfig -configure.args --mandir=${prefix}/share/man \ - --with-bdb=no \ +configure.args --with-bdb=no \ + --with-iodbc=no \ --with-mysql=no \ --with-postgresql=no \ - --with-sqlite=no + --with-sqlite=no \ + --with-threestore=no \ + --with-unixodbc=no \ + --with-virtuoso=no +pre-configure { + foreach {badport badfile} "raptor ${prefix}/include/raptor.h" { + if {[file exists ${badfile}]} { + ui_error "${name} cannot be built while ${badport} is active." + ui_error "Please deactivate ${badport} and try again." + ui_error "You can reactivate ${badport} again later." + return -code error "${badport} is installed" + } + } +} + post-configure { reinplace -E {s|-arch [a-z0-9_]+||g} \ ${worksrcpath}/redland-src-config \