[42053] trunk/dports/textproc/libxml2/Portfile

blb at macports.org blb at macports.org
Thu Nov 13 19:42:17 PST 2008


Revision: 42053
          http://trac.macports.org/changeset/42053
Author:   blb at macports.org
Date:     2008-11-13 19:42:16 -0800 (Thu, 13 Nov 2008)
Log Message:
-----------
textproc/libxml2 - when MACOSX_DEPLOYMENT_TARGET is not set it defaults to
10.1 which doesn't allow two-level by default (unless you use autoconf to
rebuild configure); setting it to the given OS here, like MacPorts trunk
currently does, so libxml2 dylibs are built two-level; not filing ticket
for the maintainer since this can cause issues (and did to someone on IRC)

Modified Paths:
--------------
    trunk/dports/textproc/libxml2/Portfile

Modified: trunk/dports/textproc/libxml2/Portfile
===================================================================
--- trunk/dports/textproc/libxml2/Portfile	2008-11-14 00:51:40 UTC (rev 42052)
+++ trunk/dports/textproc/libxml2/Portfile	2008-11-14 03:42:16 UTC (rev 42053)
@@ -4,7 +4,7 @@
 
 name                  libxml2
 version               2.7.2
-revision              0
+revision              1
 categories            textproc
 description           gnome xml library
 platforms             darwin
@@ -64,6 +64,22 @@
 Though the library is written in C, a variety of language bindings make it \
 available in other environments.
 
+# These can be removed when MacPorts 1.7 is released
+platform darwin 7 {
+   configure.env-append   MACOSX_DEPLOYMENT_TARGET=10.3
+   build.env-append       MACOSX_DEPLOYMENT_TARGET=10.3
+}
+
+platform darwin 8 {
+   configure.env-append   MACOSX_DEPLOYMENT_TARGET=10.4
+   build.env-append       MACOSX_DEPLOYMENT_TARGET=10.4
+}
+
+platform darwin 9 {
+   configure.env-append   MACOSX_DEPLOYMENT_TARGET=10.5
+   build.env-append       MACOSX_DEPLOYMENT_TARGET=10.5
+}
+
 livecheck.check regex
 livecheck.url   ${homepage}news.html
 livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081113/a236f23c/attachment.html>


More information about the macports-changes mailing list