Ticket #43200: Portfile-LibreCAD.diff

File Portfile-LibreCAD.diff, 1.7 KB (added by librecad@…, 11 years ago)

new patch against 2.0.2

  • Portfile

    old new  
    55PortGroup           github 1.0
    66PortGroup           qmake 1.0
    77
    8 github.setup        LibreCAD LibreCAD 2.0.2
     8github.setup        LibreCAD LibreCAD 2.0.3
    99categories          cad
    1010platforms           darwin
    1111maintainers         rvt.dds.nl:librecad \
     
    2424
    2525homepage            http://librecad.org/
    2626
    27 checksums           rmd160  30ae8dc909fbc34f9b1f0f448b499813ab573c40 \
    28                     sha256  75460c0d959245d4257734bdbcac69887d6ebc91312499ed228d1c4b60d0b928
     27checksums           rmd160  3731a4d6223e5c4440b57e5e1077a0f460cc3e5e \
     28                    sha256  9f7900b0489254e2119d58a36a215551d2d4d7bae291d06e5783da94aeaab126
    2929
    3030depends_lib-append  port:boost \
    31                     port:muparser \
    3231                    port:freetype
    3332
     33pre-configure {
     34                    configure.args-append \"build_muparser=true\"
     35}
     36
    3437if {${os.platform} eq "darwin" && ${os.major} < 13} {
    3538                    configure.compiler macports-gcc-4.8
    3639                    # -r ensure's that we will build all Makefiles when QMake get's executed
     
    6972
    7073        # Set these libgcc libraries to local
    7174        # TODO: Put these in the foreach loop somehow
    72         system "install_name_tool -change /opt/local/lib/libgcc/libstdc++.6.dylib \
     75        system "install_name_tool -change ${prefix}/lib/libgcc/libstdc++.6.dylib \
    7376            @executable_path/../Frameworks/libstdc++.6.dylib ${librecad}"
    74         system "install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib \
     77        system "install_name_tool -change ${prefix}/lib/libgcc/libgcc_s.1.dylib \
    7578            @executable_path/../Frameworks/libgcc_s.1.dylib ${librecad}"
    7679
    7780    }