From nobody Tue Mar 14 19:04:49 2023 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 4PbjdG4tYqz3ycGK; Tue, 14 Mar 2023 19:04:50 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PbjdG1DDtz3NNg; Tue, 14 Mar 2023 19:04:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678820690; 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=Kf3IUDK6W8Zslvi0NgtjV9qiUFA/tHNcID1I2vPoFn8=; b=JuRZDC2wlq7ZGBxs03Uoyqgk+HcGu/ftY556XiaPOjsn8RjevJMBjGcOdOVz1nvbcNXOEu VIlmIa7Vwxvjve+u0Rv8doU21ey6qCXqTxhWjxy62lVnSaM5x4oKTW7SvbAr9i3zo4FEMd nHbdLSRezFxhqoaa1qWmaUct13zLuwsioDThnGWn9Z1ueWDz3AFQ7U/Qiuyr76zwc5qzXE BhWpuS28RxpGuEwKNVWSGxva/ZofY/hCbjJBRcbOpET3Fdw180YDEr3+c7or4Oh8uaaaA7 116a1fvcf8X73bfvTxbTGo4UVT7jGFXJMoXbde94egOyT0o2PZ7hekDWg4N5Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678820690; 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=Kf3IUDK6W8Zslvi0NgtjV9qiUFA/tHNcID1I2vPoFn8=; b=j+VnFrmh5TWBCkO6iX2gZKf1stPUneJ6LsiLnSmRTVH5CZWWL54BhQ0qxJQcPUYvSB0fG4 AKgZ3m+A67nbmtJWNBTCI4FfdbTrTeAcCTXCPmq2x7wE78dOc9zQc4H9T9mkNTAgcZbmpK jd44YCPgDJ/j78irjo9tw5BISJUJ7f6xdWrXjIdxQ2YyPBKsnOVWtgeLogCuwHrkgn5X/M L0Aiovq8wIoig/Ye2DzJ6qufebP/rT3mlEv+f7IKkD6nWA4goSUxyOgrL/cOwFke6X8OGh WNtYGusyBFeQX3RUliEH/Gt0rEil92mLSbBGmjNMCJUYYI+2GQCyW372kld0wg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678820690; a=rsa-sha256; cv=none; b=Hy/mm0KYIlVpysIXGscWEKxwx8kodGKVJ+sXNZE1F4bRfF4Sl7SeWcTjqmBg4P5VJSlga1 e5j2Vx7t9Pu1nEcHmp1RVXeaUneI03xZcI8wd+wIVzbrzMlNqUyXAv8TnCxg1rFwr+Cp+6 nvNV3nzG76ARc5XWuRsxIpbk5ANqRW6zFpAcuAyHghxTdJWT9KkUfXtadJSYsRz1F7V39h LJjbJyWmnssixRAIyDDtxzLlGb00W5ogswRJOX+bmiNU8ghpEzuCs4LFNr45UOK4q6Ds6I dwkE80Cn9tTU2xbKcNlfZjekDrFj72giwul/2ZKp0neb59uPBxslYwfYXbmYyw== 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 4PbjdG0JpDzn2g; Tue, 14 Mar 2023 19:04:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32EJ4nxV021840; Tue, 14 Mar 2023 19:04:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32EJ4n6c021839; Tue, 14 Mar 2023 19:04:49 GMT (envelope-from git) Date: Tue, 14 Mar 2023 19:04:49 GMT Message-Id: <202303141904.32EJ4n6c021839@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: fb230792bc2d - main - textproc/jaq: fix build on powerpc 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fb230792bc2d4df95184d5fb29b66e76474b2593 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb230792bc2d4df95184d5fb29b66e76474b2593 commit fb230792bc2d4df95184d5fb29b66e76474b2593 Author: Piotr Kubaj AuthorDate: 2023-03-14 19:04:02 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-14 19:04:02 +0000 textproc/jaq: fix build on powerpc ld: error: undefined symbol: __atomic_store_8 --- textproc/jaq/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/textproc/jaq/Makefile b/textproc/jaq/Makefile index ebe0744ea5f4..42a7f072c7f8 100644 --- a/textproc/jaq/Makefile +++ b/textproc/jaq/Makefile @@ -78,6 +78,13 @@ CARGO_CRATES= ahash-0.7.6 \ PLIST_FILES= bin/${PORTNAME} +.include + +.if ${ARCH} == powerpc +LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT} +LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}