Add a new SUBST_VARS variable that is set to "@comment " on
most Python versions, but is set to "" on the default one. This makes
it easier to swap between default versions because you don't need
to figure out which @comments should be kept and which should be moved.
While there I remove some existing lines with @comment markers for
files that are not created by any of our current Python ports:
@comment bin/pyvenv
@comment lib/libpython3.8m.so (etc)
The @comment -> ${PY_DEFAULTONLY} change doesn't affect the generated
PLISTs at all, so for that a REVISION bump is unnecessary, but removing
the pyvenv/libpython3.Xm.so does require a bump
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.
this way, go ports will stop polluting /tmp with go-build${timestamp}
dirs, and should use WRKBUILD as intended.
went in a bulk build without fallout, thanks ajacoutot@
size of DISTFILES.
refactor MODGO_SETUP_WORKSPACE generation to avoid regex on DISTFILES,
instead build it up from module names to pass to a shell for loop, allowing
a big reduction in command line length.
parts from espie, parts from me
LLVM 13 introduces the --print-multiarch option. OpenBSD isn't multi-arch,
but that option caused problems for the build anyway.
I neutralized those checks.
security support it appears this is not really the case any more
https://bugs.php.net/bug.php?id=81026
add @pkgpaths to merge pecl-* etc across
mark www/syweb broken, it was marked 7.3-only so looks like it needs more work
other php-ish ports have a RDEP on either 7.4 (default version) or 8.0
apache/embed subpackages, but it didn't really like it either because it
was getting removed by the BUILD_ONCE logic. instead use "embed" as a
pseudo flavour to switch it instead of "no_apache". ("bootstrap" doesn't
seem appropriate here as it's either/or rather than a bootstrap as such).
can be built (needed if we want to add nginx unit with php support).
while there patch to tweak a "minimum number of bits" check done for
openssl_pkey_new which A) only looks at openssl.cnf settings and PHP
code, ignoring that the TLS library sets a default length internally,
and B) also checks this when generating named curve EC keys,
resulting in a confusing bogus error message.
Unbreak gcc 11 on powerpc64 by adding a missing header file
(gnu-user.h in patch-gcc_config_gcc). Add PFRAG.powerpc64-main.
The other changes are for D. Add powerpc64 to ONLY_FOR_ARCHS-dlang,
and add enough PPC64 code to build libphobos. While adding fibers for
powerpc64, also fix fibers for 32-bit powerpc, and pass MAP_STACK to
mmap(2) for fibers on all archs.
ok pascal@ (maintainer)
the build machines, which breaks many more important ports.
Switch dtools to build with dmd. This allows us to continue to offer the
package on at least amd64.
Comment out the gdmd line in lang/Makefile to make it clear this is
intentional. We will revisit gdmd once the ports world moves to gcc-11.
Found the hard way by tb@ -- apologies for the breakage
ok sthen@, who also mentioned the commenting out of gdmd in lang/Makefile
ok gkoehler@
DMD is the reference compiler for the D programming language.
D is a general-purpose programming language with static typing,
systems-level access, and C-like syntax.
This package contains the following:
* dmd: the D compiler
* libphobos2.a: the D standard library (with headers)