on FreeBSD 10, and amd64 on earlier versions.
SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.
On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].
On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.
Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.
[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup
PR: ports/138228 [2]
Submitted by: jlh (bsd.ssp.mk based on)
Reviewed by: bapt
With hat: portmgr
exp-runs done: 37 over a month on 91i386,91amd64,10i386,10amd64
binary in $PATH. It can be set in case the user wants to use a
specific python2 version as a default. Its behaviour is similar
to the existing PYTHON3_DEFAULT_VERSION and fixes a small issue with
package builds for different python versions.
- Outline that PYTHON_DEFAULT_VERSION always takes precedence for a
specific python major version.
- Update lang/python2 to use PYTHON2_DEFAULT_VERSION and bump the
PORTREVISION to let the installed port catch up with the change.
- Allow PYTHON3_DEFAULT_VERSION to overriden by a user choice, if
PYTHON_DEFAULT_VERSION is not set to a python3 port.
Reported by: David Demelier <demelier.david@gmail.com>
Reviewed by: koobs@, sbz@
With hat on: python@
The simplexml module uses spl which uses pcre (php53,54,55). For php52,
the fix is applied directly to spl. In any case, the bundled PCRE is not
used, so it needs to be able to find the external pcre library and related
headers. Unfortunately, there is no include for ${LOCALBASE}/include
directory. This commit adds to fix simplexml (or spl) module build.
Approved by: portmgr (bapt)
7.6.3-based bootstrap compilers without any external dependencies [1]
- Update bootstrap hscolour to 1.20.3, so both 7.4 and 7.6 bootstraps can
work with it
- Remove the line for the 7.x bootstrap as no such one exists any more
Thanks to: cognet [1]
Obtained from: FreeBSD Haskell
Instead of hardcoding the compiler target as FreeBSD, use the OPSYS
variable to it. This makes no practical difference for FreeBSD, but
it helps DragonFly get properly configured.
Approved by: gerald
Changes:
* The compiler has been improved to use charvalue instead of
intvalue, when characters are initialized. Thanks go to Brian
Callahan, for reporting the bug. Btw.: Brian Callahan created an
openBSD port for Seed7.
* The makefile mk_freebsd.mk has been added to support compilation
under freeBSD. Thanks go to Pietro Cerutti, for providing it.
* The makefiles mk_clang.mak and mk_freebsd.mk have been improved
to use the options -ffunction-sections, -fdata-sections and
*Wl,--strip-debug.
* The functions bStriLe2BigInt, bytesLe2BigInt, bStriBe2BigInt,
bytesBe2BigInt, bStriLe, bytesLe, bStriBe and bytesBe have been
added to bytedata.s7i. This functions convert between sequences
of bytes and bigInteger numbers.
* In bytedata.s7i the functions bytesLeAsInt and bytesBeAsInt have
been renamed to bytesLe2Int respectively bytesBe2Int.
* Parameter names have been added to seed7_05.s7i, graph_file.s7i,
graph.s7i, reference.s7i, pac.sd7, tetg.sd7, tet.sd7 and wiz.sd7.
* Checks for the Karatsuba multiplication and the functions bytesBe,
bytesLe, bytesBe2BigInt and bytesLe2BigInt have been added to
chkbig.sd7.
* Checks for set membership in character sets have been added to
chkset.sd7.
* The readability of the bitset initialisation in the compiler (s7c)
has been improved.
* Interpreter and compiler have been improved to support the new
actions BIG_FROM_BSTRI_BE, BIG_FROM_BSTRI_LE, BIG_TO_BSTRI_BE and
BIG_TO_BSTRI_LE.
* The functions bigFromBytesBe, bigFromBytesLe, bigFromBStriBe,
bigFromBStriLe, bigToBStriBe and bigToBStriLe have been added to
both, big_gmp.c and big_rtl.c.
* In big_gmp.c and big_rtl.c the function bigImport has been
rewritten to use bigFromBytesBe.
* The readability of the function uint2_mult in int_rtl.c has been
improved.
* The program chkccomp.c has been improved to check for a ones
complement inttype and if casting can be used to get the element
of a union.
* Several makefiles have been adjusted to use 'cp -p' instead of
'cp -a'. The cp command openBSD does not support -a.
* The function bigRand in big_rtl.c has been improved to avoid that
a random number is outside the required range.
- Replace NO_LATEST_LINK with PKGNAMESUFFIX to accomodate pkg.
- Update to 3.3.1.2013.09.07 which brings experimental support for
STMicroelectronics STM8.
if present (even if the libiconv port is present and requested) and
fails using that.
The issue is that /usr/include/iconv.h has #include <stdbool.h> which
in turn, since both are included very late in the game, conflicts with
similar definintions by libcpp itself.
libstdc++ does not seem to require adjustments, so PR 161417 may not
be relevant in full.
PR: 161417
if present (even if the libiconv port is present) and fails using that.
The issue is that /usr/include/iconv.h has #include <stdbool.h> which
in turn, since both are included very late in the game, conflicts with
similar definintions by libcpp itself.
libstdc++ does not seem to require adjustments, so PR 161417 may not
be relevant in full.
PR: 161417
if present instead of relying on the port we actually depend on.
The issue is that /usr/include/iconv.h has #include <stdbool.h> which
in turn, since both are included very late in the game, conflicts with
similar definintions by libcpp itself.
libstdc++ does not seem to require adjustments, so PR 161417 may not
be relevant in full.
PR: 161417