mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Poison the threads.h header by default in gnu.port.mk
This will avoid threads.h from devel/libstdthreads being picked up by gnulib's threadlib.m4, potentially breaking due to dpb junking in bulk builds. The header is included and some weak symbol magic is performed, but it doesn't bring any useful feature as it doesn't even link against libstdthreads.so. That gnulib module already falls back to a pthreads-based implementation anyway. Ultimately it probably makes sense for C11 threads support to go into the base system, as already discussed several times by matthieu@ and others. But now isn't the right time as we're approaching release. ok ajacoutot@ sthen@
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# $OpenBSD: config.no-stdthreads,v 1.1 2024/09/15 18:15:17 jca Exp $
|
||||
# included unless devel/libstdthreads
|
||||
ac_cv_header_threads_h=${ac_cv_header_threads_h=no}
|
||||
@@ -1,6 +1,6 @@
|
||||
#-*- mode: Fundamental; tab-width: 4; -*-
|
||||
# ex:ts=4 sw=4 filetype=make:
|
||||
# $OpenBSD: gnu.port.mk,v 1.61 2019/05/14 14:59:56 naddy Exp $
|
||||
# $OpenBSD: gnu.port.mk,v 1.62 2024/09/15 18:15:17 jca Exp $
|
||||
# Based on bsd.port.mk, originally by Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
|
||||
@@ -43,7 +43,8 @@ CONFIG_SITE_LIST += config.site
|
||||
textproc/gsed gsed \
|
||||
archivers/gtar* gtar \
|
||||
lang/gawk gawk \
|
||||
sysutils/coreutils coreutils
|
||||
sysutils/coreutils coreutils \
|
||||
devel/libstdthreads stdthreads
|
||||
. if !defined(BUILD_DEPENDS) || !${BUILD_DEPENDS:M$d}
|
||||
CONFIG_SITE_LIST += config.no-${name}
|
||||
. endif
|
||||
|
||||
@@ -2,7 +2,7 @@ COMMENT = Scientific Programming Language
|
||||
|
||||
VERSION = 7.3.0
|
||||
DISTNAME = octave-${VERSION}
|
||||
REVISION = 8
|
||||
REVISION = 9
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
CATEGORIES = math
|
||||
|
||||
@@ -40,7 +40,6 @@ MODULES = fortran \
|
||||
x11/qt5
|
||||
|
||||
BUILD_DEPENDS = ${MODFORTRAN_BUILD_DEPENDS} \
|
||||
devel/libstdthreads \
|
||||
math/gnuplot \
|
||||
print/texinfo \
|
||||
textproc/gsed
|
||||
|
||||
+1
-2
@@ -1,6 +1,6 @@
|
||||
COMMENT = program for statistical analysis of sampled data
|
||||
DISTNAME = pspp-1.4.1
|
||||
REVISION = 5
|
||||
REVISION = 6
|
||||
CATEGORIES = math x11
|
||||
|
||||
HOMEPAGE = https://www.gnu.org/software/pspp/
|
||||
@@ -30,7 +30,6 @@ MODULES = lang/python
|
||||
MODPY_RUNDEP = No
|
||||
|
||||
BUILD_DEPENDS = devel/gettext,-tools \
|
||||
devel/libstdthreads \
|
||||
print/texinfo
|
||||
|
||||
LIB_DEPENDS = databases/postgresql \
|
||||
|
||||
Reference in New Issue
Block a user