source: trunk/dports/devel/apr-util/Portfile @ 15983

Last change on this file since 15983 was 15983, checked in by dluke, 15 years ago

Bug: 6563
Submitted by: Blair Zajac <blair@…>
Reviewed by: me

Prevent inadvertant linking of pgsql/mysql and add an openldap variant to apr-util

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.28 2006/01/23 16:57:58 dluke Exp $
2
3PortSystem 1.0
4name            apr-util
5version         1.2.2
6revision        1
7categories      devel
8maintainers     dluke@geeklair.net
9description     utilities built with the apache group's portability library
10
11long_description        apr-util is a library of useful utilities built with \
12                        and intended to be used with the Apache Portable Runtime.
13
14homepage        http://apr.apache.org/
15master_sites    apache:apr
16use_bzip2       yes
17checksums       md5 694228b227e30cb9da3823514516e91c
18
19depends_lib     lib:libapr-0.0:apr port:expat \
20                port:libiconv port:db4
21
22configure.env   CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
23configure.args  --with-apr=${prefix}/bin/apr-1-config --with-expat=${prefix} \
24                --with-iconv=${prefix} --with-berkeley-db=${prefix} \
25                --without-mysql --without-pgsql
26
27variant no_bdb  {
28                        depends_lib-delete port:db4
29                        configure.args-delete --with-berkeley-db=${prefix}
30                        configure.args-append --without-berkeley-db
31                }
32
33variant no_sqlite       {
34                                configure.args-append --without-sqlite2 \
35                                        --without-sqlite3
36                        }
37
38variant openldap        {
39                                depends_lib-append port:openldap
40                                configure.args-append --with-ldap \
41                                        --with-ldap-include=${prefix}/include \
42                                        --with-ldap-lib=${prefix}/lib
43                        }
Note: See TracBrowser for help on using the repository browser.