diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-29 01:38:27 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-29 01:38:27 +0000 |
commit | 943100b79554d351721105f65f3cde8818f7f4ab (patch) | |
tree | 4a8753a891349744430edfdfe5ee65fd6cd0e129 /graphics/librsvg2 | |
parent | fb6d492c6e10afce7c59fad91e114118bee8bf53 (diff) | |
download | ports-943100b79554d351721105f65f3cde8818f7f4ab.tar.gz ports-943100b79554d351721105f65f3cde8818f7f4ab.zip |
Notes
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) |