[MacPorts] #26224: zlib fails to configure shared library when using 'configuredistcc yes'

MacPorts noreply at macports.org
Sun Dec 29 06:01:24 UTC 2019


#26224: zlib fails to configure shared library when using 'configuredistcc yes'
---------------------+------------------------
  Reporter:  aj@…    |      Owner:  ryandesign
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  1.9.1
Resolution:          |   Keywords:
      Port:  zlib    |
---------------------+------------------------

Comment (by ryandesign):

 Replying to [comment:7 dmitrij.ledkov@…]:
 > Building with configure.compiler=clang installs only .a and .so.
 Building with default gcc-4.2 compiler install dylib. There is a makefile
 patch. Probably it needs updating.

 Replying to [comment:8 dmitrij.ledkov@…]:
 >
 > {{{
 > test -z "$CC" && echo Checking for ${CROSS_PREFIX}gcc...
 > cc=${CC-${CROSS_PREFIX}gcc}
 > cflags=${CFLAGS-"-O3"}
 > # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
 > case "$cc" in
 >   *gcc*) gcc=1 ;;
 > esac
 >
 >
 > if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then
 >
 > dylib options in the darwin case
 >
 > else
 >
 > no darwin case
 >
 > endif
 > }}}
 >
 > This is in the hand-written configure script. So if we are building with
 something that is not gcc, we are not getting dylib =(

 This is an unrelated issue which was filed separately as #28656 and fixed.

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


More information about the macports-tickets mailing list