Ignore:
Timestamp:
Aug 25, 2005, 3:49:45 AM (14 years ago)
Author:
jmpp
Message:

Submitted by: jbj@…
Reviewed by: jmpp@

Build fixes for the rpm port with corresponding uprev.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/rpm/Portfile

    r13276 r13704  
    1 # $Id: Portfile,v 1.23 2005/07/28 22:06:31 jkh Exp $
     1# $Id: Portfile,v 1.24 2005/08/25 03:49:45 jmpp Exp $
    22
    33PortSystem 1.0
    44name                    rpm
    55version                 4.4.2
    6 revision                2
     6revision                3
    77platforms               darwin
    88categories              sysutils archivers
     
    4141configure.args          --disable-nls --without-javaglue --without-included-gettext \
    4242                        --with-libintl-prefix=${prefix} --with-libiconv-prefix=${prefix} \
    43                         --mandir=${prefix}/share/man --infodir=${prefix}/share/info
     43                        --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
     44                        --with-python=2.4
    4445
    4546configure.env           __PYTHON="${prefix}/bin/python"
     
    5455
    5556        post-patch {
    56                 system "rm -rf \"${worksrcpath}/beecrypt\""
    57                 system "rm -rf \"${worksrcpath}/neon\""
    58                 system "rm -rf \"${worksrcpath}/sqlite\""
    59                 system "rm -rf \"${worksrcpath}/elfutils\""
     57                file delete -force ${worksrcpath}/beecrypt
     58                file delete -force ${worksrcpath}/neon
     59                file delete -force ${worksrcpath}/sqlite
     60                file delete -force ${worksrcpath}/elfutils
    6061        }
    6162
     
    6465
    6566        pre-configure {
    66                 system "mkdir -p ${workpath}/librt"
     67                xinstall -d -m 755 ${workpath}/librt
    6768                system "ln -sf /usr/lib/libSystem.B.dylib \
    6869                                ${workpath}/librt/librt.dylib"
     
    8687        configure.args-append   \
    8788                LDFLAGS="-L${prefix}/lib -L${workpath}/librt" \
    88                 CFLAGS="-I${prefix}/include" CPPFLAGS="-I${prefix}/include -I/Library/Frameworks/Python.framework/Headers"
     89                CFLAGS="-I/Library/Frameworks/Python.framework/Versions/2.4/include -I${prefix}/include" CPPFLAGS="-I${prefix}/include -I/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4"
    8990
    9091        post-destroot {
Note: See TracChangeset for help on using the changeset viewer.