Ticket #24442: devel-kmm_banking-Portfile.diff

File devel-kmm_banking-Portfile.diff, 1.4 KB (added by mkae (Marko Käning), 15 years ago)

Fix problem with creation of ~/.kde directory during configure and build

  • Portfile

    old new  
    77# this is specific to this port and *version* for downloading it
    88set release             09
    99
     10revision                1
     11
    1012categories              devel net kde finance
    1113maintainers             nomaintainer
    1214platforms               darwin
     
    2830                        port:kdelibs3 \
    2931                        port:kmymoney
    3032
     33# Work around kde-config creating $HOME/.kde dirs with root owner
     34set home_temp           ${worksrcpath}/home_temp
     35
     36pre-configure {
     37    xinstall -m 755 -d ${home_temp}
     38}
     39
    3140configure.cppflags-append   "-L${prefix}/lib"
    3241configure.cflags-append     "-L${prefix}/lib"
    3342configure.ldflags-append    "-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
    34 configure.env           QTDIR=${prefix}/lib/qt3
     43configure.env           QTDIR=${prefix}/lib/qt3 \
     44                        HOME=${home_temp}
    3545configure.args          --with-qt-dir=${prefix}/lib/qt3 \
    3646                        --without-arts
    3747
    3848livecheck.type          regex
    3949livecheck.url           http://www2.aquamaniac.de/sites/download/packages.php?package=05&showall=1
    4050livecheck.regex         {kmm_kbanking-([0-9.]+)\.tar}
     51
     52build.env               HOME=${home_temp}