[44841] trunk/dports/kde/amarok/Portfile

illogic-al at macports.org illogic-al at macports.org
Sat Jan 3 08:27:13 PST 2009


Revision: 44841
          http://trac.macports.org/changeset/44841
Author:   illogic-al at macports.org
Date:     2009-01-03 08:27:11 -0800 (Sat, 03 Jan 2009)
Log Message:
-----------
Make compile with gcc-4.2. Add info on how to build mysql5-devel properly.

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

Modified: trunk/dports/kde/amarok/Portfile
===================================================================
--- trunk/dports/kde/amarok/Portfile	2009-01-03 15:04:56 UTC (rev 44840)
+++ trunk/dports/kde/amarok/Portfile	2009-01-03 16:27:11 UTC (rev 44841)
@@ -33,10 +33,16 @@
     reinplace \
     "s|macro_optional_add_subdirectory( po )|#macro_optional_add_subdirectory( po )|" \
     ${workpath}/${distname}/CMakeLists.txt
+
+    if { ![file exists ${prefix}/lib/mysql5/mysql/libmysqld.a] } {
+        ui_error "mysql5-devel needs to be built with the +embedded_server variant"
+        error "mysql5-devel needs to be built with the +embedded_server variant"
+    }
 }
 
 configure.cmd       cmake
 configure.ccache    no
+configure.compiler  gcc-4.2
 configure.args	../${distname} -DBUILD_SHARED_LIBS=ON \
 		-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
 		-DCMAKE_VERBOSE_MAKEFILE=ON \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090103/a362dd1b/attachment.html>


More information about the macports-changes mailing list