landry 89cd0faf06 lang/python: stop leaking python build LDFLAGS/CFLAGS to python extensions build
right now the installed python retains paths to the python build objdir,
and also enforces -L/usr/local/lib when linking python shared extensions
(which might not be desired):

$python3 -m sysconfig|grep LDSH
        BLDSHARED = "cc -pthread -shared -fPIC -L/usr/local/lib/ -L/usr/obj/ports/Python-3.8.12/Python-3.8.12 -L/usr/local/lib/"
        LDSHARED = "cc -pthread -shared -fPIC -L/usr/local/lib/ -L/usr/obj/ports/Python-3.8.12/Python-3.8.12 -L/usr/local/lib/"

python 3.x provides LDFLAGS_NODIST/CFLAGS_NODIST to avoid that (cf
https://docs.python.org/3/using/configure.html#envvar-CONFIGURE_LDFLAGS_NODIST),
but sadly if we only use it (and remove CPPFLAGS/LDFLAGS pointing at
/usr/local from CONFIGURE_ENV), libintl/textdomain detection during
configure fails.

So, taking inspiration from freebsd PR181721, dont add
CONFIGURE_LDFLAGS/CONFIGURE_CPPFLAGS to PY_LDFLAGS/PY_CPPFLAGS.

extend CHANGES.OpenBSD to explain the change (reminded by sthen@).

went in a bulk build (thanks ajacoutot@!) with a single fallout
(devel/gdb) that will get fixed shortly.
2021-11-01 07:43:39 +00:00
..
2020-09-17 20:29:21 +00:00
2021-08-17 20:22:02 +00:00
2021-05-13 23:54:24 +00:00
2021-07-25 14:15:19 +00:00
2021-09-15 19:13:46 +00:00
2021-10-25 18:54:00 +00:00
2021-08-25 12:07:54 +00:00
2021-07-28 22:40:47 +00:00
2020-12-30 18:23:02 +00:00
2020-08-24 21:38:05 +00:00
2021-02-19 04:09:51 +00:00
2019-10-02 18:34:28 +00:00
2020-05-17 20:26:40 +00:00
2020-11-06 20:05:24 +00:00
2021-08-01 11:04:35 +00:00
2021-08-31 18:01:10 +00:00
2020-06-13 12:07:22 +00:00
2021-07-29 01:15:46 +00:00
2020-06-09 17:34:13 +00:00
2021-10-19 13:59:09 +00:00
2021-10-15 20:27:51 +00:00
2020-12-31 05:13:44 +00:00
2021-03-16 20:53:31 +00:00
2021-08-10 08:59:56 +00:00
2021-07-09 13:43:48 +00:00
2021-09-01 20:30:29 +00:00
2019-11-28 12:46:24 +00:00
2020-05-02 09:33:06 +00:00
2021-10-16 08:00:54 +00:00
2020-06-22 11:15:53 +00:00
2021-02-25 21:56:09 +00:00
2021-02-27 23:25:28 +00:00
2021-10-24 01:43:35 +00:00
2021-08-01 14:42:18 +00:00
2021-10-30 06:17:45 +00:00
2020-09-23 15:37:32 +00:00
2021-07-08 01:49:34 +00:00
2020-05-20 15:12:03 +00:00
2021-10-08 14:12:36 +00:00
2021-09-09 15:07:39 +00:00
2021-05-28 16:23:31 +00:00
2020-07-05 09:44:08 +00:00
2021-03-06 23:04:27 +00:00
2021-02-14 17:08:57 +00:00
2021-10-25 14:48:36 +00:00
2021-08-31 19:10:40 +00:00
2021-09-09 15:10:31 +00:00