Ticket #797: patch-apr-util

File patch-apr-util, 2.1 KB (added by jcorley1@…, 21 years ago)

Portfile patch

Line 
1--- Portfile.orig       Sun Aug 17 15:45:08 2003
2+++ Portfile    Sun Aug 17 15:48:36 2003
3@@ -1,28 +1,36 @@
4 # $Id: Portfile,v 1.5 2003/08/16 17:21:15 fkr Exp $
5 
6 PortSystem 1.0
7-name           apr-util
8-version                0.9.3
9-categories     devel
10-maintainers    jcorley1@nc.rr.com
11-description    utilities built with the apache group's portability library
12+name                apr-util
13+version             APACHE_2_0_47
14+categories          devel
15+maintainers         jcorley1@nc.rr.com
16+description         utilities built with the apache group's portability library
17 
18-long_description       apr-util is a library of useful utilities built with \
19-                       and intended to be used with the Apache Portable \
20-                       Runtime.
21+long_description    apr-util is a library of useful utilities built with \
22+                    and intended to be used with the Apache Portable Runtime.
23 
24-homepage       http://apr.apache.org/
25-platforms      darwin
26+homepage            http://apr.apache.org/
27 
28-master_sites   http://www.apache.org/dist/apr/
29-distfiles      apr-util-0.9.3.tar.gz
30+master_sites        http://distfiles.opendarwin.org/
31+distfiles           apr-util-APACHE_2_0_47.tar.gz apr-APACHE_2_0_47.tar.gz
32 
33-patchfiles     patch-configure
34+patchfiles          patch-configure
35 
36-depends_lib    lib:libapr-0.0:apr lib:libexpat.0:expat lib:libiconv.2:libiconv
37+depends_lib         lib:libapr-0.0:apr lib:libexpat.0:expat \
38+                    lib:libiconv.2:libiconv
39 
40-checksums      apr-util-0.9.3.tar.gz md5 5dbe535cf7c07677e41ef2bf4759fecf
41+checksums           apr-util-APACHE_2_0_47.tar.gz md5 \
42+                    da333c985fbae8b76372752df330eee0 \
43+                    apr-APACHE_2_0_47.tar.gz md5 \
44+                    a1bd1c36712d65b3cc1ef6aabfef37d5
45 
46-configure.env  CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
47+pre-patch           { system "cd ${worksrcpath} && \
48+                      ./buildconf --with-apr=../apr-APACHE_2_0_47"
49+                    }
50+
51+configure.env       CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
52+
53+configure.args-append    --with-apr=${prefix} --with-expat=${prefix} \
54+                         --with-iconv=${prefix}
55 
56-configure.args-append  --with-apr=${prefix} --with-expat=${prefix}