Skip to content

Commit

Permalink
Fix gdk loaders
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@17146 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Yves de Champlain committed Mar 24, 2006
1 parent a293b4a commit 8efb797
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gnome/librsvg/Portfile
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.18 2006/03/18 16:30:24 rhwood Exp $
# $Id: Portfile,v 1.19 2006/03/24 01:27:35 yves Exp $
PortSystem 1.0
name librsvg
version 2.12.7
Expand All @@ -18,12 +18,13 @@ configure.args --mandir=${prefix}/share/man --enable-pixbuf-loader \
--with-svgz
configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"
post-install {
post-activate {
set fl [open "| grep -c svg ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" ]
set data [read $fl]
if {[catch {close $fl} err]} {
ui_msg "Updating ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
system "gdk-pixbuf-query-loaders > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
cd ${prefix}/lib/gtk-2.0/2.4.0/loaders
system "gdk-pixbuf-query-loaders *.so > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
}
}
variant use-sys-deps {
Expand Down

0 comments on commit 8efb797

Please sign in to comment.