ports/90410: [PATCH] allows graphics/librsvg2 to build on 4.11
Michael C. Shultz
ringworm01 at gmail.com
Wed Dec 14 22:40:04 UTC 2005
>Number: 90410
>Category: ports
>Synopsis: [PATCH] allows graphics/librsvg2 to build on 4.11
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 14 22:40:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Michael C. Shultz
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD ringworm.mechee.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Nov 30 13:51:49 PST 2005 root at 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 ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list