From nobody Sun Aug 06 21:53:20 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 4RJtVm30TPz4mTMs; Sun, 6 Aug 2023 21:53:20 +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 4RJtVm1sQVz3GFm; Sun, 6 Aug 2023 21:53:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691358800; 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=Dijqc8SyqB2oOHNILVAw9KTfPgOVKL5aqc5M3qrccw0=; b=Kdntt+CusuyskYHkaYSqAkxd6l2avyKdha5YcdkU9ruH6e+4v3Y6/PNWrhA3mMNY2qfE5R m2cqBX8lY4oGCsjFmQxikKmUFC3VCtd3P5Mwes9W+9DMXXMXhqGqKCMEr3DOudiBkvTHN5 395uVcKjPoJZ3Sehc4c8mmwja60FmoAqgp5apo5O352/4L7wW90NQi9ZPLFZ/3sUQhdhB8 Z8uDPosGVYQzbo+tjxXmpjeebiAV/WvDB4N8ynfFRvKpLwdKQNfLQHEkrLtubgFvi5TF+U Qyj6c3K3MKHarOkOuBGX3sYVAvV6BP5vrBGsjyrMJfU0lUB+1Li/YRe9lnHl8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691358800; 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=Dijqc8SyqB2oOHNILVAw9KTfPgOVKL5aqc5M3qrccw0=; b=O1e6FoVeISHJUvLzPaGUuPXqCj9OkCbkVBnpNHPZcWWFGoenoCJLd8K5EO6HQDXBxKxWkJ nTBmLN5RZwWAdgz0GTh0L7KNsqyfQa3EHb8PvAJgALIuFoJpH9tl5iRodrJ8z9kjEB9H1Q Va2+sBB7XPTdPrh5Dtzd/MQWAIsMradO3c+wqyiCIKhNcPfc0CnJwNIZjzX9RoCxVauS9a XMCoEOakiR5uyjO6UnoVSo4Xx529OO6MLqVIbG4KjRBlCFMjsvAscMMxL23gdT4wwIHhfT XLBpfL/zXSORqO9jhg5ioWOvxB+KBGr9A8EgZLc8I+BGx5FIDZF3tmWQb5BIvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691358800; a=rsa-sha256; cv=none; b=HoV2IyQ0SAP5MBvWHXD+EcvM1w/gimf27UqZmgRBZzg2Ne1J6OXckZ5YAGBobhzjeKZ4hf EQTmYfqhOJCxi2HLI1YFicGGRXkDbExKeOk9wv59+N5OXq6VwuH/Zb4OrlfcOOKq9VTad5 cHEjEfGBmqK1s7rF3US1gxkNbWC58Mxe5Umgf+o47P9BVU89Y42AuYWmENoo6YrQclLbAK TARxw7BKqg+7e5b1pcn72XhZtHWy7cKjGMUx+GyqSeZnZEmBBKlrJaKWBoNn4OJ/EH/mQf +rmWzrNLoywbqgteTAx/32Pc/5lXYJvtqam4dWQAb+M1t/wtj9EIfpJ1aORuzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RJtVm0tNxzCCG; Sun, 6 Aug 2023 21:53:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 376LrKUP075748; Sun, 6 Aug 2023 21:53:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 376LrKb6075747; Sun, 6 Aug 2023 21:53:20 GMT (envelope-from git) Date: Sun, 6 Aug 2023 21:53:20 GMT Message-Id: <202308062153.376LrKb6075747@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 2c215b822a65 - main - astro/celestia: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2c215b822a65d0f0c24863227e3145d743943ca0 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2c215b822a65d0f0c24863227e3145d743943ca0 commit 2c215b822a65d0f0c24863227e3145d743943ca0 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-06 21:45:22 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-06 21:53:05 +0000 astro/celestia: Fix build with llvm16 - Utilize USES=localbase Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- astro/celestia/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/astro/celestia/Makefile b/astro/celestia/Makefile index 81efc9d9adee..1dbc884f9d18 100644 --- a/astro/celestia/Makefile +++ b/astro/celestia/Makefile @@ -13,7 +13,9 @@ LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png -USES= compiler:c++11-lang gettext gl gmake jpeg libtool lua:52 pkgconfig +USES= compiler:c++11-lang gettext gl gmake jpeg libtool localbase:ldflags \ + lua:52 pkgconfig +USE_CXXSTD= c++14 USE_GL= gl GNU_CONFIGURE= yes EXTRA_PATCHES= ${FILESDIR}/celestia-1.6.1-lua-5.2.patch:-p1 \ @@ -22,8 +24,7 @@ EXTRA_PATCHES= ${FILESDIR}/celestia-1.6.1-lua-5.2.patch:-p1 \ ${FILESDIR}/celestia-1.6.1-gcc48.patch:-p1 CXXFLAGS+= -fsigned-char # fix text rendering (see Gentoo bug 316573) -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -pthread +LDFLAGS+= -pthread UI_LIST= glut gtk gnome CELESTIA_UI?= glut