Ignore:
Timestamp:
Dec 30, 2009, 7:27:50 AM (8 years ago)
Author:
ryandesign@…
Message:

lp_solve: build using our own Makefile, enabling parallel build and ensuring we're UsingTheRightCompiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/lp_solve/Portfile

    r62148 r62149  
    66version                 5.5.0.13
    77revision                1
     8set branch              [join [lrange [split ${version} .] 0 1] .]
    89categories              math
    910platforms               darwin
     
    1819                        many different platforms like Mac OS X, Linux and Windows.
    1920
    20 homepage                http://lpsolve.sourceforge.net/5.5/
     21homepage                http://lpsolve.sourceforge.net/${branch}/
    2122master_sites            sourceforge:lpsolve
    2223distname                ${name}_${version}_source
    23 worksrcdir              ${name}_5.5
     24worksrcdir              ${name}_${branch}
    2425
    2526checksums               md5     e8e71b1bf86267597d5776ab0f69721d \
     
    2728                        rmd160  63ffd2df25bde0c7ca5da4fba4140a8fb97b0495
    2829
    29 patchfiles              patch-Wno-long-double.diff
     30post-extract {
     31    xinstall -m 644 ${filespath}/Makefile ${worksrcpath}
     32}
     33
     34patchfiles              patch-Wno-long-double.diff \
     35                        patch-CC.diff
     36
    3037use_configure           no
    31 set worksrcpath         ${workpath}/${worksrcdir}
    32 build.cmd               cd ${worksrcpath}/lpsolve55/ && sh ./ccc.osx && \
    33                         cd ${worksrcpath}/lp_solve/ && sh ./ccc.osx
    34 build.args              {}
     38
     39build.args              CC=${configure.cc}
    3540
    3641destroot {
Note: See TracChangeset for help on using the changeset viewer.