Ignore:
Timestamp:
Jun 20, 2011, 1:03:08 PM (9 years ago)
Author:
jmr@…
Message:

DSDP: obey build_arch (#25313)

Location:
trunk/dports/math/DSDP
Files:
2 edited

Legend:

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

    r76577 r79608  
    4040
    4141post-patch {   
    42     reinplace -E "s|@@MP_CC@@|${configure.cc}|g" \
     42    reinplace "s|@@MP_CC@@|${configure.cc}|g" \
     43        ${worksrcpath}/make.include
     44    reinplace "s|@@MP_ARCHFLAGS@@|${configure.cc_archflags}|g" \
    4345        ${worksrcpath}/make.include
    4446}
  • trunk/dports/math/DSDP/files/patch-make.include.diff

    r76577 r79608  
    1 --- make.include.orig   2011-02-28 21:29:20.000000000 +0100
    2 +++ make.include        2011-02-28 21:29:55.000000000 +0100
     1--- make.include.orig   2005-10-22 05:30:55.000000000 +1000
     2+++ make.include        2011-06-20 22:55:40.000000000 +1000
    33@@ -6,7 +6,7 @@
    44 #   the defaults below should work, although fast BLAS and LAPACK recommended.
     
    1919 #DSDPCFLAGS = -DDSDPMATLAB
    2020 #  Other flags concern BLAS and LAPACK libraries -- see next step.
     21@@ -43,8 +43,8 @@
     22 
     23 
     24 # STEP 4.  Set Linker and FLAGS:  Link the DSDP library to application
     25-CFLAGS   = ${OPTFLAGS} -I. -I${DSDPROOT}/include ${DSDPCFLAGS}
     26-CLINKER        = ${CC} ${OPTFLAGS}
     27+CFLAGS   = ${OPTFLAGS} @@MP_ARCHFLAGS@@ -I. -I${DSDPROOT}/include ${DSDPCFLAGS}
     28+CLINKER        = ${CC} ${OPTFLAGS} @@MP_ARCHFLAGS@@
     29 #CLINKER       = ${CXX} ${OPTFLAGS} -static
     30 #CLINKER       = link /out:dsdp5.exe
     31 
    2132@@ -55,7 +55,7 @@
    2233 # Not needed to compile library or matlab executable
Note: See TracChangeset for help on using the changeset viewer.