[61526] trunk/dports/databases
ryandesign at macports.org
ryandesign at macports.org
Sun Dec 13 14:47:59 PST 2009
Revision: 61526
http://trac.macports.org/changeset/61526
Author: ryandesign at macports.org
Date: 2009-12-13 14:47:58 -0800 (Sun, 13 Dec 2009)
Log Message:
-----------
mysql5, mysql5-devel: use archcheck portgroup to ensure dependencies have the right architectures; see #22527
Modified Paths:
--------------
trunk/dports/databases/mysql5/Portfile
trunk/dports/databases/mysql5-devel/Portfile
Modified: trunk/dports/databases/mysql5/Portfile
===================================================================
--- trunk/dports/databases/mysql5/Portfile 2009-12-13 22:43:29 UTC (rev 61525)
+++ trunk/dports/databases/mysql5/Portfile 2009-12-13 22:47:58 UTC (rev 61526)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup archcheck 1.0
name mysql5
conflicts mysql5-devel mysql4
@@ -37,6 +38,9 @@
port:zlib \
port:openssl
+archcheck.files lib/libz.dylib \
+ lib/libssl.dylib
+
set major_version [strsed ${version} {s/\..*$//}]
set mysql mysql${major_version}
set libdir ${prefix}/lib/${mysql}
@@ -82,6 +86,7 @@
# "--without-readline" has the peculiar meaning "do not use the bundled copy
# of readline but use the system's (i.e. MacPorts') copy of readline"
depends_lib-append port:readline
+archcheck.files-append lib/libreadline.dylib
configure.args-append --without-readline
variant no_embedded_server description {Don't build the libmysqld embedded server (thereby allowing a universal build)} {}
Modified: trunk/dports/databases/mysql5-devel/Portfile
===================================================================
--- trunk/dports/databases/mysql5-devel/Portfile 2009-12-13 22:43:29 UTC (rev 61525)
+++ trunk/dports/databases/mysql5-devel/Portfile 2009-12-13 22:47:58 UTC (rev 61526)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup archcheck 1.0
name mysql5-devel
conflicts mysql5 mysql4
@@ -39,6 +40,9 @@
port:zlib \
port:openssl
+archcheck.files lib/libz.dylib \
+ lib/libssl.dylib
+
set major_version [strsed ${version} {s/\..*$//}]
set mysql mysql${major_version}
set libdir ${prefix}/lib/${mysql}
@@ -84,6 +88,7 @@
# "--without-readline" has the peculiar meaning "do not use the bundled copy
# of readline but use the system's (i.e. MacPorts') copy of readline"
depends_lib-append port:readline
+archcheck.files-append lib/libreadline.dylib
configure.args-append --without-readline
variant no_embedded_server description {Don't build the libmysqld embedded server (thereby allowing a universal build)} {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091213/137d01fe/attachment.html>
More information about the macports-changes
mailing list