[MacPorts] #63328: kerberos5 @1.19.2 needs corrected configure options

MacPorts noreply at macports.org
Sun Aug 1 21:07:10 UTC 2021


#63328: kerberos5 @1.19.2 needs corrected configure options
--------------------------+------------------------
  Reporter:  ballapete    |      Owner:  ryandesign
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.1
Resolution:               |   Keywords:  tiger
      Port:  kerberos5    |
--------------------------+------------------------

Comment (by ballapete):

 `Portfile` contains

 {{{
  59 # kerberos5 fails to build in its own presence, see #23769, #37944
  60 # remove ${prefix}/lib from configure.ldflags to allow linking against
 its own libs first
  61 # adding ${worksrcpath}/lib is not necessary and pollutes krb5-config
 --libs and pkg-config files
  62 configure.ldflags-delete    -L${prefix}/lib
 }}}

 which discourages simply setting an option for `ld`. But doing so, adding
 `LIBS=-L/opt/local/lib` to `configure.args` on Big Sur, lets `Kerberos5`
 build and `make check` perform as before. There is one change: `configure`
 records in `config.status`: `S["LIBS"]="-lintl -lresolv -L/opt/local/lib"`
 – `-lcrypto` is gone. If that's not the appropriate means than it seems to
 be necessary to edit in `src/util/profile/testmod/Makefile`,
 `src/util/verto/Makefile`, and `src/tests/misc/Makefile` the line

 {{{
 LIBS = -lcrypto -lintl -lresolv
 }}}

 to become

 {{{
 LIBS = -lcrypto -lintl -lresolv -L/opt/local/lib
 }}}

 to allow testing after `configure` has finished.

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


More information about the macports-tickets mailing list