Ticket #49737: patch-xapian-core-1.2.21.diff
File patch-xapian-core-1.2.21.diff, 2.3 KB (added by dbevans (David B. Evans), 9 years ago) |
---|
-
Portfile
7 7 PortGroup muniversal 1.0 8 8 9 9 name xapian-core 10 version 1.2.2 010 version 1.2.21 11 11 categories devel 12 12 maintainers gmail.com:dcolish 13 13 license GPL-2+ … … 24 24 master_sites http://oligarchy.co.uk/xapian/${version}/ 25 25 use_xz yes 26 26 27 checksums rmd160 40239b0f5c6f2cbea02fe2a9fd0897d8a39637a7\28 sha256 c4f8d5b9e393ea32912955a17e6b6ea3f6c052ae9133ded6fe48582c25b1aa8f27 checksums rmd160 6b2413007f245d2410e2b22d7656abb7f1bae750 \ 28 sha256 63f48758fbd13fa8456dd4cf9bf3ec35a096e4290f14a51ac7df23f78c162d3f 29 29 30 30 # TODO: Fix xapian-config to not require the .la file 31 31 # /opt/local/bin/xapian-config --ltlibs --cxxflags … … 34 34 35 35 depends_lib port:zlib 36 36 37 patchfiles patch-xapian-config.in.diff38 39 37 livecheck.type regex 40 38 livecheck.url ${homepage}download 41 39 livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix} -
files/patch-xapian-config.in.diff
1 http://trac.xapian.org/ticket/6762 http://trac.xapian.org/changeset/716a2f331b9e34351b976cc680892d76c76e07c1/git3 --- xapian-config.in.orig 2015-03-03 22:36:08.000000000 -06004 +++ xapian-config.in 2015-04-29 22:48:17.000000000 -05005 @@ -55,7 +55,7 @@6 # Check if this is an uninstalled xapian-config.7 is_uninstalled()8 {9 - if [ -z "$uninstalled_cache" ]; then10 + if [ -z "$is_uninstalled_cache" ]; then11 [ -n "$builddir" -a -f "${builddir}Makefile" ]12 is_uninstalled_cache=$?13 fi14 @@ -100,10 +100,6 @@15 # -I options for compiling against an uninstalled xapian.16 set_I_for_uninstalled() {17 I=18 - # version.h is generated by configure, so we also need builddir19 - # in the include path if it's different to srcdir.20 - [ "@abs_srcdir@" != "@abs_builddir@" ] && I="-I@abs_builddir@/include "21 - I="$I-I@abs_srcdir@/include"22 }23 24 # Extract dlname from a libtool .la file.