Ticket #15581: portfile_diff.txt

File portfile_diff.txt, 2.0 KB (added by davidh@…, 16 years ago)

unified diff between current Portfile and revision to support multiple compiles

Line 
1--- Portfile    2008-09-19 10:01:07.000000000 -0700
2+++ Portfile-5  2008-09-19 10:01:25.000000000 -0700
3@@ -1,11 +1,13 @@
4-# $Id: Portfile,v 1.5 2008/09/19 17:01:07 davidh Exp $
5+# $Id$
6 
7 PortSystem                     1.0
8+
9 name                           cfitsio
10 version                                3.100
11+revision            1
12 categories                     devel
13 maintainers                    nomaintainer
14-description                    C/Fortran access to FITS data files with optional Fortran wrappers
15+description                    C/Fortran access to FITS data files
16 long_description \
17        CFITSIO is a library of C and Fortran subroutines for reading and \
18        writing data files in FITS (Flexible Image Transport System) data \
19@@ -30,10 +32,10 @@
20                sha1   a0586a5411e2882165d55c46e66473f555142e07 \
21                rmd160 cd2d944ad73c74053ecd4c78b7efe5195cc8d43b
22 
23-# turn off FORTRAN compiler wrappers by removing FORTRAN from the path
24-configure.fc           ${prefix}/bin/no-possible-compiler
25+depends_build          port:gcc43
26 
27 configure.cflags       -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
28+configure.fc           ${prefix}/bin/gfortran-mp-4.3
29 
30 build.target           all shared
31 
32@@ -47,27 +49,3 @@
33                ${docdir}
34 }
35 
36-variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 g95 g77 {
37-        depends_lib-append    port:gcc42
38-               configure.fc-delete     ${prefix}/bin/no-possible-compiler
39-               configure.fc            ${prefix}/bin/gfortran-mp-4.2
40-}
41-
42-variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 g95 g77 {
43-        depends_lib-append    port:gcc43
44-               configure.fc-delete     ${prefix}/bin/no-possible-compiler
45-               configure.fc            ${prefix}/bin/gfortran-mp-4.3
46-}
47-
48-variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 g77 {
49-        depends_lib-append    port:g95
50-               configure.fc-delete     ${prefix}/bin/no-possible-compiler
51-        configure.fc         ${prefix}/bin/g95
52-}
53-
54-variant g77 description {create Fortran wrappers using g77} conflicts gcc42 gcc43 g95 {
55-        depends_lib-append    bin:g77-dp-3.4:gcc34
56-               configure.fc-delete     ${prefix}/bin/no-possible-compiler
57-        configure.fc         ${prefix}/bin/g77-dp-3.4
58-}
59-