[MacPorts] #58167: bfs @1.3.3 - not UsingTheRightCompiler

MacPorts noreply at macports.org
Tue Mar 5 18:37:46 UTC 2019


#58167: bfs @1.3.3 - not UsingTheRightCompiler
---------------------+---------------------------
  Reporter:  kencu   |      Owner:  ylluminarious
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  bfs     |
---------------------+---------------------------

Comment (by kencu):

 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_bfs/bfs/work/bfs-1.3.3"
 && /usr/bin/make -j4 -w release

 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_bfs/bfs/work/bfs-1.3.3'

 cc -D__EXTENSIONS__ -D_ATFILE_SOURCE -D_BSD_SOURCE -D_DARWIN_C_SOURCE
 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
 -DBFS_VERSION=\"1.3.3\"  -std=c99 -g -Wall -Wmissing-declarations
 -Wstrict-prototypes -O3 -flto -DNDEBUG -MD -MP -MF bftw.d -c bftw.c -o
 bftw.o
 }}}

 it needs something like this added to the Portfile:

 {{{
 build.env           CXX="${configure.cxx}" \
                     CXXFLAGS="${configure.cxxflags}
 [get_canonical_archflags cxx]" \
                     CC="${configure.cc}" \
                     CFLAGS="${configure.cflags} [get_canonical_archflags
 cc]" \
                     LDFLAGS="${configure.ldflags}
 [get_canonical_archflags ld]" \
                     PREFIX=${prefix}
 }}}

 but then also have to sort out the extras for +universal.

-- 
Ticket URL: <https://trac.macports.org/ticket/58167#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list