Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2005 14:33:40 -0800 (PST)
From:      Michael C. Shultz <ringworm01@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@FreeBSD.org
Subject:   [PATCH] allows graphics/librsvg2 to build on 4.11
Message-ID:  <20051214223341.02F93130C22@ringworm.mechee.com>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Michael C. Shultz
>Organization:
>Confidential:	no
>Synopsis:	[PATCH] allows graphics/librsvg2 to build on 4.11 
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		update
>Release:	FreeBSD 5.4-STABLE i386
>Environment:
System: FreeBSD ringworm.mechee.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Nov 30 13:51:49 PST 2005 root@ringworm.mechee.com:/usr5/obj/usr5/src/sys/RINGWORM5 i386


>Description:

	patch allows graphics/librsvg2 to build on 4.11
	by disabling MOZILLA_PLUGIN option for 
	FreeBSD < 5.0

>How-To-Repeat:

	N/A

>Fix:

--- librsvg2-2.12.7_3.diff begins here ---
diff -ruN librsvg2/Makefile librsvg2-2.12.7_3/Makefile
--- librsvg2/Makefile	Tue Nov 29 13:48:50 2005
+++ librsvg2-2.12.7_3/Makefile	Wed Dec 14 14:12:47 2005
@@ -8,7 +8,7 @@
 
 PORTNAME=	librsvg2
 PORTVERSION=	2.12.7
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/${PORTNAME:S/2$//}/2.12
@@ -46,10 +46,11 @@
 
 MAN1=		rsvg.1
 
-OPTIONS=	MOZILLA_PLUGIN "Enable the SVG browser plug-in" no
-
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} > 499999
+OPTIONS=	MOZILLA_PLUGIN "Enable the SVG browser plug-in" no
+
 .if defined(WITH_MOZILLA_PLUGIN)
 USE_GECKO=	firefox mozilla
 .include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
@@ -61,6 +62,7 @@
 CONFIGURE_ARGS+=--enable-mozilla-plugin=no
 
 PLIST_SUB+=	PLUGIN="@comment "
+.endif
 .endif
 
 post-patch:
--- librsvg2-2.12.7_3.diff ends here ---





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051214223341.02F93130C22>