firefox -> libxul patch

Greg Lewis glewis at eyesbeyond.com
Sat Nov 14 22:35:38 UTC 2009


G'day all,

I'd like to commit the following patch which converts gecko support from
firefox to libxul (compile tested).  This leaves www/gecko-sharp10 still
requiring firefox, but I think we should just remove that port in favour
of www/gecko-sharp20 since nothing depends on www/gecko-sharp10.

Any objections?

Index: devel/mono-tools/Makefile
===================================================================
RCS file: /var/fcvs/ports/devel/mono-tools/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- devel/mono-tools/Makefile	6 Jul 2009 10:19:36 -0000	1.16
+++ devel/mono-tools/Makefile	14 Nov 2009 07:15:53 -0000
@@ -22,7 +22,7 @@
 USE_GNOME=	gnomehack gnometarget gnomedesktopsharp20
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
-USE_GECKO=	firefox mozilla
+USE_GECKO=	libxul
 
 MAN1=		create-native-map.1 gendarme.1 mprof-decoder.1 mprof-heap-viewer.1
 
@@ -39,5 +39,4 @@
 		's|@datadir@/man/man1|@mandir@/man1|g'
 
 .include "${PORTSDIR}/lang/mono/bsd.mono.mk"
-.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
 .include <bsd.port.post.mk>
Index: www/gecko-sharp20/Makefile
===================================================================
RCS file: /var/fcvs/ports/www/gecko-sharp20/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- www/gecko-sharp20/Makefile	31 Jul 2009 13:56:26 -0000	1.19
+++ www/gecko-sharp20/Makefile	14 Nov 2009 07:20:40 -0000
@@ -16,7 +16,7 @@
 MAINTAINER=	mono at FreeBSD.org
 COMMENT=	Mono bindings for embeding mozilla
 
-USE_GECKO=	firefox mozilla
+USE_GECKO=	libxul
 USE_GNOME=	gnometarget gtksharp20
 LATEST_LINK=	gecko-sharp20
 GNU_CONFIGURE=	yes
@@ -27,6 +27,4 @@
 	@${REINPLACE_CMD} -e 's|[(]prefix[)]/lib/pkgconfig|(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
 
 .include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
-.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-mono mailing list