Ignore:
Timestamp:
May 5, 2005, 3:56:53 PM (15 years ago)
Author:
gwright
Message:

Build to Tiger; deprecate on Jaguar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/xloops/Portfile

    r11969 r12171  
    1 # $Id: Portfile,v 1.6 2005/04/23 14:41:45 gwright Exp $
     1# $Id: Portfile,v 1.7 2005/05/05 15:56:53 gwright Exp $
    22
    33PortSystem 1.0
    44name            xloops
    55version         current
    6 revision        4
     6revision        6
    77categories      science
    88platforms       darwin
     
    2626set worksrcdir  ${name}
    2727
    28 depends_build   bin:g++-dp-3.4:gcc34
    29 depends_lib     lib:ginac-1.2.0:GiNaC   \
     28depends_lib     lib:ginac:GiNaC         \
    3029                lib:nestedsums:nestedsums
    3130
     
    3938                  reinplace s|%%DP_ACLOCAL%%|${prefix}/share/aclocal| Makefile.am
    4039                  system "LIBTOOLIZE=glibtoolize autoreconf -i"
    41                 }
     40}
    4241
    43 configure.env   CXX=g++-dp-3.4                  \
    44                 CPPFLAGS="-I${prefix}/include"  \
     42platform darwin 6 {
     43                ui_msg "xloops is not supported on Jaguar (OS X 10.2.x)"
     44                exit 1
     45}
     46
     47platform darwin 7 {
     48                depends_build   bin:g++-dp-4.0:gcc40
     49
     50                configure.env-append    CXX=g++-dp-4.0
     51}
     52
     53configure.env   CPPFLAGS="-I${prefix}/include"  \
    4554                LDFLAGS="-L${prefix}/lib"
    4655
     
    5766#               Remember, you must build your programs that include     \
    5867#               the xloop library with the same C++ compiler as was     \
    59 #               used to build xloops (g++ 3.4.3, most recently).
     68#               used to build xloops (g++ 4.0, most recently).
    6069
    6170default_variants  +test
     
    6372                  test.cmd      make
    6473                  test.target   check
    65                 }
     74}
    6675
Note: See TracChangeset for help on using the changeset viewer.