pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/apr0 Support builtin libexpat on Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88365e076291
branches:  trunk
changeset: 631577:88365e076291
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Mar 10 13:55:25 2014 +0000

description:
Support builtin libexpat on Darwin.

diffstat:

 devel/apr0/distinfo                         |   4 ++--
 devel/apr0/patches/patch-apr-util_configure |  11 ++++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r a917ef82839f -r 88365e076291 devel/apr0/distinfo
--- a/devel/apr0/distinfo       Mon Mar 10 13:44:37 2014 +0000
+++ b/devel/apr0/distinfo       Mon Mar 10 13:55:25 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2014/03/10 13:44:37 jperkin Exp $
+$NetBSD: distinfo,v 1.9 2014/03/10 13:55:25 jperkin Exp $
 
 SHA1 (httpd-2.0.65.tar.bz2) = 0183866df73c7877ba9275a075a2ece7a67f6c95
 RMD160 (httpd-2.0.65.tar.bz2) = 1f0142a843486a53ba184ceb9214dc78f071e17e
@@ -7,7 +7,7 @@
 SHA1 (patch-an) = 76d9ac0cdddec7c0f41535baee63bf0aa26ed596
 SHA1 (patch-ao) = 4cbfa00dfe2ff515cbe6e94068ba7678f02fab89
 SHA1 (patch-ap) = 357776c7208407936e09891ae87d23b112a12756
-SHA1 (patch-apr-util_configure) = f0942b2b3465d7b55aee83688e0617401019bb7e
+SHA1 (patch-apr-util_configure) = 9600956ce050f5289a95da266c7ab33383badecd
 SHA1 (patch-aq) = 6cc1fb879fb5d9280f543ebe068a441e2e6560f3
 SHA1 (patch-ar) = defa2be14ec057e1c41151b8cd1edc0ffb219694
 SHA1 (patch-as) = 37e70ff8b1a3344e47bcd2fe2b145a6e3e6a4562
diff -r a917ef82839f -r 88365e076291 devel/apr0/patches/patch-apr-util_configure
--- a/devel/apr0/patches/patch-apr-util_configure       Mon Mar 10 13:44:37 2014 +0000
+++ b/devel/apr0/patches/patch-apr-util_configure       Mon Mar 10 13:55:25 2014 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-apr-util_configure,v 1.1 2014/03/06 11:52:19 jperkin Exp $
+$NetBSD: patch-apr-util_configure,v 1.2 2014/03/10 13:55:25 jperkin Exp $
 
-Search for builtin expat in /usr/lib64 too.
+Search for builtin expat in /usr/lib64 and support .dylib.
 
 --- apr-util/configure.orig    2013-06-28 17:48:52.000000000 +0000
 +++ apr-util/configure
-@@ -23132,6 +23132,11 @@ $as_echo_n "checking for Expat in $withv
+@@ -23132,6 +23132,16 @@ $as_echo_n "checking for Expat in $withv
              expat_include_dir="$abs_expatdir/include"
      expat_ldflags="-L$abs_expatdir/lib"
      expat_libs="-lexpat"
@@ -13,6 +13,11 @@
 +            expat_include_dir="$abs_expatdir/include"
 +    expat_ldflags="-L$abs_expatdir/lib64"
 +    expat_libs="-lexpat"
++  elif test -r "$abs_expatdir/include/expat.h" -a \
++    -r "$abs_expatdir/lib/libexpat.dylib"; then
++            expat_include_dir="$abs_expatdir/include"
++    expat_ldflags="-L$abs_expatdir/lib"
++    expat_libs="-lexpat"
    elif test -r "$abs_expatdir/xmlparse.h"; then
          expat_include_dir="$abs_expatdir"
      expat_ldflags="-L$abs_expatdir"



Home | Main Index | Thread Index | Old Index