From nobody Sun Sep 15 13:56:17 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X68hy2dL6z5Wcc2; Sun, 15 Sep 2024 13:56:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X68hy24J0z4HSR; Sun, 15 Sep 2024 13:56:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726408578; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=v8RP1+08xCT6M8P1yw93CzTdu7DEmruJaqUHMOmvXQk=; b=H6KhSG8AkqNC2YnrsKY8GBAAHzV8d3DYgJHCf/Tnx1sPRPftc7N6a5Md5r71KEmuHeRGzV RSM0xXqo7PRLsAVX97eBOT1Smez2AObnp14H3T0RxZjJ0Nz7WGsmW+WLDfa++XL18aZdwN pgcAn6D4Lkgdkd9m57WUckhDEqWZXc1qyPm6pBB1xLekmXp3lLJqbmD+aRBduulEHW1zd4 xumKU2h7Jg+SYfkp2/9l5QKk7o/BKcQvYZROWITSZ7JE+epoNwZlGoPRHg4u+4wRgBdv7w h/5zTLFP/ZJeArexccBYasTXqou5F5bakyIeEKczHXXVwNkYOVFkAXLIAd+OYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726408578; a=rsa-sha256; cv=none; b=lqIZ6ormHdkR0UdWCPAjZLca7ug6+E+c+2BRr9oI7xnJ0QpjuQTBH71o0j6vY3vVjyowGA yHfh+sVu48nBmEuuZLI7VTZGw0VzEXTqIBzbNfBBSBdIlSAxhWNgXLszC/hY9raR8oxdm7 ntmlaA8sk72xHBcDhnBjskvNLN9zL6mrJ4z+Zn3f+Sjz2eeDm+qrlcqAm3T93fm5Ml4Zss W9qGAtTUilXFAKIISzmcDWzoGp2uXR1XumqSJiwaVyiNZWkmWiDlmAAK7qpqHVd2yGM/q6 CVJvc8vL3+JUMLMtfHFfkbM/jG59G2lwHVxEY7nqGxcTUN4nTRebdgJ3eN73HA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726408578; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=v8RP1+08xCT6M8P1yw93CzTdu7DEmruJaqUHMOmvXQk=; b=gI87ljD85Kx+8xVxMg/ebAy+Jl83GtF85ofsB861lJt7yHKnXtiNBFW7vEYh6dPYICZfan Cz79Fw0r+6x0wfXXYpZ8/hYWSVxqg2v2BnNLd7BLCtIBeg4oJlE1IbvvaT6ErYJKHEQNON OzEq2l8iNuWV7u+I2pdrisjwcr8HxA1xEU69LpJXnYCvHu3Na3wS/u2QBNoEUJlqzLv1tg 5Jqa30SdZTgSjWoJhEXG0FHP4Y5tNEZ5FY6h9KhzFiAwc1oa+VWY5lZulXdVRFTobGIi1p 42V04be1gorNWEqrAMfR0nOWIdo1Kav/ybe49M6Wd3/KVZDDu2wpaWQ1WqgLew== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X68hy0j6Mz1Bsv; Sun, 15 Sep 2024 13:56:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48FDuHav030306; Sun, 15 Sep 2024 13:56:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48FDuHrS030303; Sun, 15 Sep 2024 13:56:17 GMT (envelope-from git) Date: Sun, 15 Sep 2024 13:56:17 GMT Message-Id: <202409151356.48FDuHrS030303@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Tijl Coosemans Subject: git: 7b3995c7b76f - main - textproc/link-grammar: Link with -lstdthreads List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tijl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7b3995c7b76ffcfce55e26687ea86b9c2d8535ee Auto-Submitted: auto-generated The branch main has been updated by tijl: URL: https://cgit.FreeBSD.org/ports/commit/?id=7b3995c7b76ffcfce55e26687ea86b9c2d8535ee commit 7b3995c7b76ffcfce55e26687ea86b9c2d8535ee Author: Tijl Coosemans AuthorDate: 2022-11-30 15:29:41 +0000 Commit: Tijl Coosemans CommitDate: 2024-09-15 13:53:07 +0000 textproc/link-grammar: Link with -lstdthreads The library uses call_once and other C11 Threads functions that are implemented by libstdthreads on FreeBSD. Use new upstream. PR: 267758 --- textproc/link-grammar/Makefile | 7 +++---- textproc/link-grammar/files/patch-configure | 31 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/textproc/link-grammar/Makefile b/textproc/link-grammar/Makefile index 34a4a9312190..8505be37e002 100644 --- a/textproc/link-grammar/Makefile +++ b/textproc/link-grammar/Makefile @@ -1,12 +1,12 @@ PORTNAME= link-grammar DISTVERSION= 5.10.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc -MASTER_SITES= http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/ +MASTER_SITES= https://www.gnucash.org/${PORTNAME}/downloads/${PORTVERSION}/ MAINTAINER= gnome@FreeBSD.org COMMENT= Grammar checking library -WWW= https://www.abisource.com/projects/link-grammar/ +WWW= https://opencog.github.io/link-grammar-website/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE @@ -15,7 +15,6 @@ USES= compiler:c++11-lib dos2unix gmake libtool localbase ncurses \ pathfix pkgconfig sqlite USE_LDCONFIG= yes GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-maintainer-mode \ --with-regexlib=pcre2 \ --disable-python-bindings diff --git a/textproc/link-grammar/files/patch-configure b/textproc/link-grammar/files/patch-configure new file mode 100644 index 000000000000..55b6215f112d --- /dev/null +++ b/textproc/link-grammar/files/patch-configure @@ -0,0 +1,31 @@ +Derived from https://github.com/opencog/link-grammar/commit/8d864c6a7b91 + +--- configure.orig 2022-06-17 16:29:31 UTC ++++ configure +@@ -18540,8 +18540,26 @@ fi + OS_NETBSD_FALSE= + fi + ++case "$host_os" in ++ *freebsd*) ++ freebsd=yes ++ ;; ++ *) ++ freebsd=no ++ ;; ++esac + + HOST_OS="$host_os" ++ ++# ==================================================================== ++# FreeBSD work-around. Apparently, the AX_PTHREAD autoconf macro ++# fails to include -lstdthreads in it's results. See bug report ++# https://github.com/opencog/link-grammar/issues/1355 ++# So we hack, and explicitly set it here. ++ ++if test -n "$ax_pthread_ok" -a "x$freebsd" = "xyes"; then ++ PTHREAD_LIBS="${PTHREAD_LIBS} -lstdthreads" ++fi + + # ==================================================================== +