Changeset 4309


Ignore:
Timestamp:
Dec 27, 2003, 2:16:57 PM (17 years ago)
Author:
mww
Message:

Bug: #964
Submitted by: mww@

removed need for beeing root to install (at least for destroot);

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libcompat/Portfile

    r3223 r4309  
    1 # $Id: Portfile,v 1.8 2003/08/14 10:07:32 wbb4 Exp $
     1# $Id: Portfile,v 1.9 2003/12/27 14:16:57 mww Exp $
    22
    33PortSystem 1.0
     
    1414build.type      bsd
    1515worksrcdir      ${portname}
    16 configure       {}
     16use_configure   no
    1717patchfiles      patch-Makefile
    1818build.env       LDADD=-install_name\\ ${prefix}/lib/libcompat.1.dylib
    1919
    20 destroot        { cd ${worksrcpath}
    21                   system "install -o root -m 755 -d ${destroot}${prefix}/lib"
    22                   system "install -o root -m 755 -c libcompat.1.dylib \
    23                     ${destroot}${prefix}/lib"
    24                   system "ln -sf libcompat.1.dylib \
    25                     ${destroot}${prefix}/lib/libcompat.dylib" }
    26 
     20destroot        {
     21        file copy ${worksrcpath}/libcompat.1.dylib ${destroot}${prefix}/lib
     22        system "cd ${worksrcpath} && ln -sf libcompat.1.dylib \
     23                ${destroot}${prefix}/lib/libcompat.dylib"
     24}
Note: See TracChangeset for help on using the changeset viewer.