summaryrefslogtreecommitdiff
path: root/graphics/librsvg2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-03 18:52:20 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-03 18:52:20 +0000
commit96a6a859cbc77e30425df050b12b5077e7668966 (patch)
treee8c9fb57038151a09a29dcb0a1aa3794e247a697 /graphics/librsvg2
parent- Fix build on -current (diff)
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 c4257ffba37c..1608713a71ec 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 52864dbcc5d8..094cff6f4b45 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