summaryrefslogtreecommitdiffstats
path: root/graphics/librsvg2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-11-03 18:52:20 +0000
committermarcus <marcus@FreeBSD.org>2003-11-03 18:52:20 +0000
commit444fe828506f78b8ed9043a08a0ce1f7fc82fee0 (patch)
treea5b3f97531708caf23a89bdc88fd96a9878e9397 /graphics/librsvg2
parent2957946ab8f4295371b149a82a038ab47685642e (diff)
downloadFreeBSD-ports-444fe828506f78b8ed9043a08a0ce1f7fc82fee0.zip
FreeBSD-ports-444fe828506f78b8ed9043a08a0ce1f7fc82fee0.tar.gz
Try to make the package a little safer when handling gdk-pixbuf.loaders. It
looks like pkg_add on this might not have found gdk-pixbuf-query-loaders in the PATH, and thus it over gdk-pixbuf.loaders with a blank file.
Diffstat (limited to 'graphics/librsvg2')
-rw-r--r--graphics/librsvg2/Makefile1
-rw-r--r--graphics/librsvg2/pkg-plist4
2 files changed, 3 insertions, 2 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile
index c4257ff..1608713 100644
--- a/graphics/librsvg2/Makefile
+++ b/graphics/librsvg2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= librsvg2
PORTVERSION= 2.4.0
+PORTREVISION= 1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.4
diff --git a/graphics/librsvg2/pkg-plist b/graphics/librsvg2/pkg-plist
index 52864db..094cff6 100644
--- a/graphics/librsvg2/pkg-plist
+++ b/graphics/librsvg2/pkg-plist
@@ -26,5 +26,5 @@ share/doc/librsvg/html/up.png
@dirrm share/doc/librsvg
@dirrm include/librsvg-2/librsvg
@dirrm include/librsvg-2
-@exec gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true
-@unexec gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true
+@exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true
+@unexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true
OpenPOWER on IntegriCloud