1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

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.
This commit is contained in:
Joe Marcus Clarke 2003-11-03 18:52:20 +00:00
parent b4d5b934dc
commit 96a6a859cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92984
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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