diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-03-30 11:32:43 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-03-30 11:32:43 +0800 |
commit | 6c9ac831fec0e24047c73384f62b2280be951703 (patch) | |
tree | 3b9cb4f5e2a1b480c18b8eaf5c27e7514e2d547f /x11 | |
parent | 2c8d06d8886a58afa10d7d30f14a22784eb604d9 (diff) | |
download | marcuscom-ports-6c9ac831fec0e24047c73384f62b2280be951703.tar marcuscom-ports-6c9ac831fec0e24047c73384f62b2280be951703.tar.gz marcuscom-ports-6c9ac831fec0e24047c73384f62b2280be951703.tar.bz2 marcuscom-ports-6c9ac831fec0e24047c73384f62b2280be951703.tar.lz marcuscom-ports-6c9ac831fec0e24047c73384f62b2280be951703.tar.xz marcuscom-ports-6c9ac831fec0e24047c73384f62b2280be951703.tar.zst marcuscom-ports-6c9ac831fec0e24047c73384f62b2280be951703.zip |
Add compile-tested support for libxul.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12193 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/yelp/Makefile | 7 | ||||
-rw-r--r-- | x11/yelp/files/patch-src_yelp-gecko-utils.cpp | 13 |
2 files changed, 17 insertions, 3 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile index 66b4177b7..e7ab5f538 100644 --- a/x11/yelp/Makefile +++ b/x11/yelp/Makefile @@ -3,7 +3,7 @@ # Whom: Maxim Sobolev <sobomax@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/yelp/Makefile,v 1.131 2009/03/02 13:06:54 kwm Exp $ +# $MCom: ports/x11/yelp/Makefile,v 1.132 2009/03/17 23:34:16 kwm Exp $ # PORTNAME= yelp @@ -18,7 +18,7 @@ COMMENT= A help browser for the GNOME 2 desktop LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ rarian.0:${PORTSDIR}/textproc/rarian -USE_GECKO= firefox xulrunner +USE_GECKO= firefox libxul USE_GETTEXT= yes USE_BZIP2= yes USE_XORG= ice @@ -28,7 +28,8 @@ GNU_CONFIGURE= yes INSTALLS_ICONS= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --with-gecko=${GECKO} +CONFIGURE_ARGS= --with-gecko=${GECKO} \ + --with-gecko-home=${LOCALBASE}/lib/${GECKO} MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias" GCONF_SCHEMAS= yelp.schemas diff --git a/x11/yelp/files/patch-src_yelp-gecko-utils.cpp b/x11/yelp/files/patch-src_yelp-gecko-utils.cpp new file mode 100644 index 000000000..2c4d781ee --- /dev/null +++ b/x11/yelp/files/patch-src_yelp-gecko-utils.cpp @@ -0,0 +1,13 @@ +--- src/yelp-gecko-utils.cpp.orig 2009-03-29 23:21:59.000000000 -0400 ++++ src/yelp-gecko-utils.cpp 2009-03-29 23:25:48.000000000 -0400 +@@ -28,8 +28,10 @@ + #include <nsStringAPI.h> + + #ifdef HAVE_GECKO_1_9 ++#ifdef XPCOM_GLUE + #include <gtkmozembed_glue.cpp> + #endif ++#endif + + #include <gtkmozembed.h> + #include <gtkmozembed_internal.h> |