Changeset 23154 for trunk/dports/math


Ignore:
Timestamp:
Mar 26, 2007, 7:30:30 PM (13 years ago)
Author:
pipping@…
Message:
  • replace hardcoded prefix with variable
File:
1 edited

Legend:

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

    r20168 r23154  
    2525variant mpi {
    2626        configure.args-append --enable-mpi
    27         configure.env-append MPICC=/opt/local/lib/openmpi/bin/mpicc \
    28                                  MPICXX=/opt/local/lib/openmpi/bin/mpic++ \
    29                                  MPILIBS='-L/opt/local/lib'
    30         build.env MPILIBS='-L/opt/local/lib'
     27        configure.env-append MPICC=${prefix}/lib/openmpi/bin/mpicc \
     28                                 MPICXX=${prefix}/lib/openmpi/bin/mpic++ \
     29                                 MPILIBS='-L${prefix}/lib'
     30        build.env MPILIBS='-L${prefix}/lib'
    3131        depends_lib port:openmpi
    3232}
Note: See TracChangeset for help on using the changeset viewer.