[50676] trunk/dports/www/kazehakase/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed May 6 12:58:23 PDT 2009


Revision: 50676
          http://trac.macports.org/changeset/50676
Author:   jeremyhu at macports.org
Date:     2009-05-06 12:58:23 -0700 (Wed, 06 May 2009)
Log Message:
-----------
kazehakase: Committing changes to try using xulrunner.  This fails to compile, but gets past earlier failures.  This port will be nuked in the next commit, but I wanted to document these changes in case someone wants to resurrect it.

Modified Paths:
--------------
    trunk/dports/www/kazehakase/Portfile

Modified: trunk/dports/www/kazehakase/Portfile
===================================================================
--- trunk/dports/www/kazehakase/Portfile	2009-05-06 19:52:45 UTC (rev 50675)
+++ trunk/dports/www/kazehakase/Portfile	2009-05-06 19:58:23 UTC (rev 50676)
@@ -16,20 +16,50 @@
 		rmd160 e39a4e1bd9d00dd302735254cb0dddf4826bb8a9
 depends_build	path:bin/pkg-config:pkgconfig
 depends_lib	port:gtk2 \
-		port:mozilla \
+		port:xulrunner \
 		path:bin/glibtoolize:libtool
 
 patchfiles	patch-missing.diff
 
-configure.args	--with-gecko-engine=mozilla
+configure.args \
+	--with-gecko-engine=libxul \
+	--disable-gtkmozembed
 
-variant seamonkey description "use Seamonkey instead of Mozilla" {
-	depends_lib-delete port:mozilla
-	depends_lib-append port:seamonkey
-	configure.args-delete --with-gecko-engine=mozilla
-	configure.args-append --with-gecko-engine=seamonkey
+post-patch {
+	reinplace "s/-D\[^ \]*_DISABLE_DEPRECATED=1//" \
+		${worksrcpath}/ext/ruby/Makefile.am \
+		${worksrcpath}/module/embed/gecko/Makefile.am \
+		${worksrcpath}/module/embed/gtk-webcore/Makefile.am \
+		${worksrcpath}/module/embed/ie/Makefile.am \
+		${worksrcpath}/module/embed/webkit-gtk/Makefile.am \
+		${worksrcpath}/module/search/Makefile.am \
+		${worksrcpath}/src/actions/Makefile.am \
+		${worksrcpath}/src/bookmarks/Makefile.am \
+		${worksrcpath}/src/dialogs/Makefile.am \
+		${worksrcpath}/src/Makefile.am \
+		${worksrcpath}/src/net/Makefile.am \
+		${worksrcpath}/src/prefs_ui/Makefile.am \
+		${worksrcpath}/src/sidebar/Makefile.am \
+		${worksrcpath}/src/utils/Makefile.am \
+		${worksrcpath}/ext/ruby/Makefile.in \
+		${worksrcpath}/module/embed/gecko/Makefile.in \
+		${worksrcpath}/module/embed/gtk-webcore/Makefile.in \
+		${worksrcpath}/module/embed/ie/Makefile.in \
+		${worksrcpath}/module/embed/webkit-gtk/Makefile.in \
+		${worksrcpath}/module/search/Makefile.in \
+		${worksrcpath}/src/actions/Makefile.in \
+		${worksrcpath}/src/bookmarks/Makefile.in \
+		${worksrcpath}/src/dialogs/Makefile.in \
+		${worksrcpath}/src/Makefile.in \
+		${worksrcpath}/src/net/Makefile.in \
+		${worksrcpath}/src/prefs_ui/Makefile.in \
+		${worksrcpath}/src/sidebar/Makefile.in \
+		${worksrcpath}/src/utils/Makefile.in
 }
 
+configure.cppflags-append "[exec ${prefix}/bin/pkg-config --cflags-only-I nss]"
+configure.ldflags-append  "[exec ${prefix}/bin/pkg-config --libs-only-L nss]"
+
 variant webkit description "use WebKit in addition to Gecko" {
 	depends_lib-append port:webkit-gtk
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090506/39a2bbcb/attachment.html>


More information about the macports-changes mailing list