Changeset 17146


Ignore:
Timestamp:
Mar 24, 2006, 1:27:35 AM (15 years ago)
Author:
yves
Message:

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

Fix gdk loaders

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/librsvg/Portfile

    r17051 r17146  
    1 # $Id: Portfile,v 1.18 2006/03/18 16:30:24 rhwood Exp $
     1# $Id: Portfile,v 1.19 2006/03/24 01:27:35 yves Exp $
    22PortSystem 1.0
    33name            librsvg
     
    1919configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
    2020                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"
    21 post-install {
     21post-activate {
    2222        set fl [open "| grep -c svg ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" ]
    2323        set data [read $fl]
    2424        if {[catch {close $fl} err]} {
    2525                ui_msg "Updating ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
    26                 system "gdk-pixbuf-query-loaders > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
     26                cd ${prefix}/lib/gtk-2.0/2.4.0/loaders
     27                system "gdk-pixbuf-query-loaders *.so > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
    2728        }
    2829}
Note: See TracChangeset for help on using the changeset viewer.