Ignore:
Timestamp:
Aug 19, 2004, 2:07:49 PM (15 years ago)
Author:
fenner
Message:

Give configure LIBS= to make sure it can find libungif

Use "rm -rf" to remove man/ since it could be a real directory,
not a symlink.

Submitted by: fkr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/magicpoint/Portfile

    r4945 r8011  
    1 # $Id: Portfile,v 1.2 2004/01/23 00:39:27 fenner Exp $
     1# $Id: Portfile,v 1.3 2004/08/19 14:07:49 fenner Exp $
    22PortSystem 1.0
    33
     
    2929# until it does, we let it know about ${x11prefix}.
    3030# LOCALPREFIX= is for configure to find libungif.
    31 configure.env   PKG_CONFIG_PATH=${x11prefix}/lib/pkgconfig LOCALPREFIX=${localprefix}
     31configure.env   PKG_CONFIG_PATH=${x11prefix}/lib/pkgconfig LOCALPREFIX=${localprefix} LIBS=-L${localprefix}/lib
    3232configure.args  --enable-gif
    3333
     
    4444        # darwinports tries to force man pages into share/man;
    4545        # for X applications the man dir is simply man, so move them
    46         system "cd \"${destroot}${prefix}\" && rm man && mv share/man ."
     46        system "cd \"${destroot}${prefix}\" && rm -rf man && mv share/man ."
    4747
    4848        # install some of the documentation and examples
Note: See TracChangeset for help on using the changeset viewer.