The GTK port of WebKit is being used by more and moreGnome programs as an alternative to the Gecko engine,so I have tried to create the attached minimal portfilefor "webkitgtk", but the compilation fails with the followingerror:
/opt/local/include/X11/X.h:108: error: conflicting declaration 'typedef XID Cursor'/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: 'Cursor' has a previous declaration as 'typedef struct Cursor Cursor'make[1]: *** [WebCore/page/libWebKitGtk_la-Frame.lo] Error 1
Which is the elegant way of proceeding with Apple sources? :)
-Guido
--------------------8<----------------------------------------# $Id$
PortSystem 1.0
name webkitgtkversion r29753maintainers nomaintainercategories develdescription GTK+ port of WebKit.long_description ${description}homepage http://www.webkit.orgplatforms darwinmaster_sites http://nightly.webkit.org/files/trunk/srcuse_bzip2 yesdistname WebKit-${version}checksums md5 9ad7d64dd106b10b55d4bf81a0bbd650configure.cmd ./autogen.shdepends_build port:libtool \port:icu \port:pkg-configdepends_lib port:gtk2pre-configure {reinplace "s|aclocal |aclocal -I${prefix}/share/aclocal |" \${worksrcpath}/autogen.shreinplace "s|libtoolize|glibtoolize|" \${worksrcpath}/autogen.sh}--------------------8<-------------------------------------------
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-dev