Changeset 63312


Ignore:
Timestamp:
Feb 1, 2010, 5:03:38 PM (10 years ago)
Author:
takeshi@…
Message:

g95: use configure.cc in pre-configure and post-build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/g95/Portfile

    r60475 r63312  
    8383        set gcc_configargs "--with-as=${prefix}/bin/odas --with-ld=${prefix}/bin/odld --with-nm=${prefix}/bin/odnm"
    8484    }
    85     system "export CPPFLAGS=\"${configure.cppflags}\"; \
     85    system "export CC=\"${configure.cc}\"; \
     86            export CPPFLAGS=\"${configure.cppflags}\"; \
    8687            export CFLAGS=\"${configure.cflags}\"; \
    8788            export LDFLAGS=\"${configure.ldflags}\"; \
     
    106107post-build {
    107108    system "cd ${worksrcpath}/libf95.a-${version}; \
     109           export CC=\"${configure.cc}\"; \
    108110           export CFLAGS=\"${configure.cflags} ${configure.cc_archflags}\"; \
    109111           ./configure --prefix=${prefix} ${buildhost}; \
Note: See TracChangeset for help on using the changeset viewer.