diff options
author | edwin <edwin@FreeBSD.org> | 2005-12-29 09:38:27 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-12-29 09:38:27 +0800 |
commit | fb466753aeff3cc2456a97499e7301f7b5cce244 (patch) | |
tree | b69dc12dc4f342c232f50788a66bea22328edcda /graphics/librsvg2 | |
parent | 39a12d77b8245ac1a045a61b50c111fcbbfb4921 (diff) | |
download | freebsd-ports-gnome-fb466753aeff3cc2456a97499e7301f7b5cce244.tar.gz freebsd-ports-gnome-fb466753aeff3cc2456a97499e7301f7b5cce244.tar.zst freebsd-ports-gnome-fb466753aeff3cc2456a97499e7301f7b5cce244.zip |
[PATCH] allows graphics/librsvg2 to build on 4.11
patch allows graphics/librsvg2 to build on 4.11
by disabling MOZILLA_PLUGIN option for
FreeBSD < 5.0
PR: ports/90410
Submitted by: Michael C. Shultz <ringworm01@gmail.com>
Approved by: maintainer timeout
Diffstat (limited to 'graphics/librsvg2')
-rw-r--r-- | graphics/librsvg2/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile index 440a43ec3a4e..ebeda475eebd 100644 --- a/graphics/librsvg2/Makefile +++ b/graphics/librsvg2/Makefile @@ -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 @@ -50,6 +50,7 @@ OPTIONS= MOZILLA_PLUGIN "Enable the SVG browser plug-in" no .include <bsd.port.pre.mk> +.if ${OSVERSION} > 499999 .if defined(WITH_MOZILLA_PLUGIN) USE_GECKO= firefox mozilla .include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk" @@ -58,10 +59,13 @@ CONFIGURE_ARGS+=--enable-mozilla-plugin=yes PLIST_SUB+= PLUGIN="" .else -CONFIGURE_ARGS+=--enable-mozilla-plugin=no PLIST_SUB+= PLUGIN="@comment " .endif +.else +PLIST_SUB+= PLUGIN="@comment " +CONFIGURE_ARGS+=--enable-mozilla-plugin=no +.endif post-patch: .if defined(WITH_MOZILLA_PLUGIN) |