[63171] trunk/dports/mail/dovecot/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Jan 27 19:12:22 PST 2010
Revision: 63171
http://trac.macports.org/changeset/63171
Author: ryandesign at macports.org
Date: 2010-01-27 19:12:22 -0800 (Wed, 27 Jan 2010)
Log Message:
-----------
dovecot: add archcheck portgroup; this is important because postgresql ports can't (or until recently couldn't) build x86_64/i386 universal
Modified Paths:
--------------
trunk/dports/mail/dovecot/Portfile
Modified: trunk/dports/mail/dovecot/Portfile
===================================================================
--- trunk/dports/mail/dovecot/Portfile 2010-01-28 03:08:50 UTC (rev 63170)
+++ trunk/dports/mail/dovecot/Portfile 2010-01-28 03:12:22 UTC (rev 63171)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup archcheck 1.0
name dovecot
epoch 20060722
@@ -27,6 +28,9 @@
depends_lib port:libiconv \
port:zlib \
port:openssl
+archcheck.files lib/libiconv.dylib \
+ lib/libz.dylib \
+ lib/libssl.dylib
configure.args --sysconfdir=${prefix}/etc/dovecot \
--localstatedir=${prefix}/var \
@@ -47,6 +51,7 @@
variant postgresql80 conflicts postgresql81 postgresql82 postgresql83 postgresql84 description {Enable PostgreSQL 8.0 support} {
depends_lib-append port:postgresql80
+ archcheck.files-append lib/postgresql80/libpq.dylib
configure.args-append --with-pgsql
configure.ldflags-append -L${prefix}/lib/postgresql80
configure.cppflags-append -I${prefix}/include/postgresql80
@@ -54,6 +59,7 @@
variant postgresql81 conflicts postgresql80 postgresql82 postgresql83 postgresql84 description {Enable PostgreSQL 8.1 support} {
depends_lib-append port:postgresql81
+ archcheck.files-append lib/postgresql81/libpq.dylib
configure.args-append --with-pgsql
configure.ldflags-append -L${prefix}/lib/postgresql81
configure.cppflags-append -I${prefix}/include/postgresql81
@@ -61,6 +67,7 @@
variant postgresql82 conflicts postgresql80 postgresql81 postgresql83 postgresql84 description {Enable PostgreSQL 8.2 support} {
depends_lib-append port:postgresql82
+ archcheck.files-append lib/postgresql82/libpq.dylib
configure.args-append --with-pgsql
configure.ldflags-append -L${prefix}/lib/postgresql82
configure.cppflags-append -I${prefix}/include/postgresql82
@@ -68,6 +75,7 @@
variant postgresql83 conflicts postgresql80 postgresql81 postgresql82 postgresql84 description {Enable PostgreSQL 8.3 support} {
depends_lib-append port:postgresql83
+ archcheck.files-append lib/postgresql83/libpq.dylib
configure.args-append --with-pgsql
configure.ldflags-append -L${prefix}/lib/postgresql83
configure.cppflags-append -I${prefix}/include/postgresql83
@@ -75,6 +83,7 @@
variant postgresql84 conflicts postgresql80 postgresql81 postgresql82 postgresql83 description {Enable PostgreSQL 8.4 support} {
depends_lib-append port:postgresql84
+ archcheck.files-append lib/postgresql84/libpq.dylib
configure.args-append --with-pgsql
configure.ldflags-append -L${prefix}/lib/postgresql84
configure.cppflags-append -I${prefix}/include/postgresql84
@@ -82,6 +91,7 @@
variant mysql5 description {Enable MySQL support} {
depends_lib-append path:bin/mysql_config5:mysql5
+ archcheck.files-append lib/mysql5/mysql/libmysqlclient.dylib
configure.args-append --with-mysql
configure.ldflags-append -L${prefix}/lib/mysql5/mysql
configure.cppflags-append -I${prefix}/include/mysql5/mysql
@@ -89,6 +99,7 @@
variant ldap description {Enable LDAP support} {
configure.args-append --with-ldap
+ archcheck.files-append lib/libldap.dylib
depends_lib-append port:openldap
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100127/35c5ebdb/attachment.html>
More information about the macports-changes
mailing list