Skip to content
Permalink
Browse files

Fix gdk loaders

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@17146 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Yves de Champlain
Yves de Champlain committed Mar 24, 2006
1 parent a293b4a commit 8efb797a480bc80959f4ee405ec2c9b0b5ff2cdd
Showing with 4 additions and 3 deletions.
  1. +4 −3 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
@@ -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 {

0 comments on commit 8efb797

Please sign in to comment.
You can’t perform that action at this time.