[52457] trunk/dports/kde/kdelibs4/Portfile

illogic-al at macports.org illogic-al at macports.org
Tue Jun 16 19:27:37 PDT 2009


Revision: 52457
          http://trac.macports.org/changeset/52457
Author:   illogic-al at macports.org
Date:     2009-06-16 19:27:37 -0700 (Tue, 16 Jun 2009)
Log Message:
-----------
Return illogic-al's post-configure section. See what I did there? 
Needed for cross-compiling magic (by me)

Modified Paths:
--------------
    trunk/dports/kde/kdelibs4/Portfile

Modified: trunk/dports/kde/kdelibs4/Portfile
===================================================================
--- trunk/dports/kde/kdelibs4/Portfile	2009-06-17 01:59:25 UTC (rev 52456)
+++ trunk/dports/kde/kdelibs4/Portfile	2009-06-17 02:27:37 UTC (rev 52457)
@@ -40,6 +40,15 @@
                         -DKDE_DEFAULT_HOME=Library/Preferences/KDE \
                         -DWITH_FAM=OFF
 
+platform darwin 9 {
+    if {${universal_target} == "10.4"} {
+    # Needed only if compiling for 10.4 universal on 10.5
+        post-configure {
+            reinplace "s|#define   HAVE_BACKTRACE 1||" ${workpath}/build/config.h
+        }
+    }
+}
+
 post-activate {
     if { [file exists ${destroot}${prefix}/lib/kde4/kspell_aspell.so] } {
         ui_msg "######################################################"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090616/9c5ff39e/attachment.html>


More information about the macports-changes mailing list