[Bug 205960] lang/python35: (and lang/python34) building with LibreSSL fails: lib-dynload/_ssl.so: No such file or directory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 5 09:33:33 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205960

--- Comment #15 from Kubilay Kocak <koobs at FreeBSD.org> ---
-1 on change in attachment 165181

Any solution should avoid the further use of global {C,CPP,LD}FLAGS
modifications as it's a solution too widely scoped for the problem and has
caused issues in the past, such as identifying other libraries (we don't want
found) in LOCALBASE, or include order issues causing failures in other modules
(see the comment in the python3* port makefile)

The reason why this fails when NLS is disabled is the following line in the
Makefile:

NLS_CPPFLAGS= -I${LOCALBASE}/include

When NLS is enabled (the default), I believe the ssl libraries from LOCALBASE
are found and used. This doesn't however mean that the solution is to modify
global CFLAGS.

Long term, this use of CPPFLAGS for gettext needs to go as well, and having
another part of the port use it (or CFLAGS) makes that more difficult

For further information, see:

https://svnweb.freebsd.org/ports?view=revision&revision=326729
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181721

I haven't reviewed or tested attachment 172123 provided by Walter

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list