aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/librsvg2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/librsvg2/Makefile')
-rw-r--r--graphics/librsvg2/Makefile8
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)