[MacPorts] #70140: dectalk: compilation ignores MacPorts flags

MacPorts noreply at macports.org
Sun Jun 2 22:53:25 UTC 2024


#70140: dectalk: compilation ignores MacPorts flags
--------------------------------------------+---------------------
 Reporter:  aeiouaeiouaeiouaeiouaeiouaeiou  |      Owner:  (none)
     Type:  defect                          |     Status:  new
 Priority:  Normal                          |  Milestone:
Component:  ports                           |    Version:
 Keywords:                                  |       Port:  dectalk
--------------------------------------------+---------------------
 I'm trying to fix a build on older systems and found that the configure
 ignores linking and compile flags.

 Example: https://build.macports.org/builders/ports-
 14_arm64-builder/builds/31886/steps/install-port/logs/stdio

 {{{
 /usr/bin/clang -c -MMD -g -O2 -Wall -Wno-missing-braces -Wno-pointer-sign
 -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function
 -I../include -I../api -I../cmd
 -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_dectalk/dectalk/work/dectalk-2023-10-30/src/dapi/build/dic/23.2.0/la/release
 -I../kernel -I../lts -I../nt -I../osf -I../ph -I../../../ -I../protos
 -I../vtm -I.
 -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_dectalk/dectalk/work/dectalk-2023-10-30/src/dapi/build/dectalk//la/release/include
 -D_REENTRANT -DNOMME -DLTSSIM -DTTSSIM -DANSI -DBLD_DECTALK_DLL -DSPANISH
 -DSPANISH_LA -DDECTALK_INSTALL_PREFIX=\"/opt/local\" -DACCESS32
 -DTYPING_MODE  -o ../../build/dectalk/23.2.0/la/release/link/cm_char.o
 cm_char.c
 }}}

 Here it should be {{{-Os -arch}}} arm64 instead of {{{-g -O2}}}.

 What follows is even weirder, since gcc is used:

 {{{
 gcc -c -MMD -g -O2 -Wall -Wno-missing-braces -Wno-pointer-sign -Wno-
 unused-variable -Wno-unused-but-set-variable -Wno-unused-function
 -I../include -I../api -I../cmd
 -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_dectalk/dectalk/work/dectalk-2023-10-30/src/dapi/build/dic/23.2.0/uk/release
 -I../kernel -I../lts -I../nt -I../osf -I../ph -I../../../ -I../protos
 -I../vtm
 -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_dectalk/dectalk/work/dectalk-2023-10-30/src/dapi/build/dectalk//uk/release/include
 -D_REENTRANT -DNOMME -DLTSSIM -DTTSSIM -DANSI -DBLD_DECTALK_DLL -DENGLISH
 -DENGLISH_UK -DDECTALK_INSTALL_PREFIX=\"/opt/local\" -DACCESS32
 -DTYPING_MODE  -o ../../build/dic/23.2.0/uk/release/link/dic.o dic.c
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70140>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list