From nobody Sun Jun 25 18:09:58 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 4QpzXQ60V5z4jGZM; Sun, 25 Jun 2023 18:09:58 +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 4QpzXQ4fN4z3lKP; Sun, 25 Jun 2023 18:09:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687716598; 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=o/TLvZ4AquJn2rylUys5gM1xPQjfVs9ttQqEWMAFjsY=; b=eY90XqWVnz8Eye0bKBeN8mt/B2es+8mMYdYf7jUJbheb+35Dnra54S6xtVEnvf1QiQ1ppV 29TlqS5c+DoDtUlFECtqx1z1UJ+f5ZxeXVDt7OTwIkCYm/CDruOLUpmAF8MXfiHsEz0nFM L8QOUQl/5JZsaOgvAjVVRiqf2af3QIK6XAKzu5g51+6Li3y+kYpO2e7+AEhUkS7zGh9xbc G5n5Xm1nSVT5Repka1RwMdoRVvMicuQXgNoheLhw0dfP9cPa4uOCAE2Jev28uN5X5FcU5c DQpvpx2S1LcfySeLEME0kuQTOjXM7DY40xDTCrRppKNie9IOY81LiurmTfUoLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687716598; 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=o/TLvZ4AquJn2rylUys5gM1xPQjfVs9ttQqEWMAFjsY=; b=IASWE9MqBdmhArtvAmzDyI3lyq96t4G5afBYPh9XL8Q+60i2s2SzEMM1qQ8Ajyy4Zg9NN8 Mvmdf/ZbWOB8kiWhefOKLGXlkrtb7qyZ0LedUiKUGiXMJZ4nNm1zGfebk8Ou2JfuwdDTA/ MKuuBtqtngPWytqA2xtzMTKC3tmovnxM3Up4DWJCYHNNNPoQ6xCy8dGi2l4EdnblVR6PyK 83N1MJ/L2lWATqO1j94e4CwDT5kznwly1GRxjCNvzfoS3ZMIhmeO3WKhpViO9nPcco+1vy GM5xQJQCZ6OkoRxrcpc0Fe9LFAuTxbSgMddjandenmyYN0u9bNYJO3wmyvZXsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687716598; a=rsa-sha256; cv=none; b=oX7RD0ep19XiJ14aJ7f1QrUb8WH8Dqmrt2qqdcTAt3chQqRUJznOXIKz7rYNDVH+Vgj9Lf C1mCUYtYbVoS/qfydaKa3X64c8IRKp/bUUzrPnPzSyzw8xy6CfDNGXlAQezMeAJ2lAs+lM CrHy44+WUU/c5iLoLBR8tNXVVtu+694Skj/2PrQhqtKLPT0YyyWKljGkB/b20oFE2zXo2s OXuDDVjrGMGM6LfVeyUaEiAfiIeeStw23SO601Y+/1iUg/5sI39HhnNnto6T40FCOmpC05 PdA749nCr0vPr+CqJEoFPeeEr6T/FtbmXquBfXLSJGzcNvjp0oGVn+vnuENS6A== 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 4QpzXQ3Ssgzd9m; Sun, 25 Jun 2023 18:09:58 +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 35PI9wgG092060; Sun, 25 Jun 2023 18:09:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35PI9wXX092059; Sun, 25 Jun 2023 18:09:58 GMT (envelope-from git) Date: Sun, 25 Jun 2023 18:09:58 GMT Message-Id: <202306251809.35PI9wXX092059@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: abad80143b96 - main - x11-toolkits/fox16: 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: abad80143b961d4b2431114a4a5160d0efd04284 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=abad80143b961d4b2431114a4a5160d0efd04284 commit abad80143b961d4b2431114a4a5160d0efd04284 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-24 23:49:25 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-25 18:09:47 +0000 x11-toolkits/fox16: Fix build with llvm16 - Utilize USES=localbase Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11-toolkits/fox16/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/x11-toolkits/fox16/Makefile b/x11-toolkits/fox16/Makefile index 24819db2fb4f..ab05351f6a92 100644 --- a/x11-toolkits/fox16/Makefile +++ b/x11-toolkits/fox16/Makefile @@ -16,15 +16,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff -USES= compiler:features gl jpeg libtool pathfix xorg +USES= compiler:features gl jpeg libtool localbase:ldflags pathfix xorg USE_GL= gl glu USE_XORG= x11 xext xfixes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-opengl --with-x --with-xim USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -fPIC -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -fPIC PLIST_SUB= MAJORVER="${MAJORVER}" @@ -84,6 +83,10 @@ CXXFLAGS+= -fexpensive-optimizations -finline-functions . endif .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + post-patch: # Rename man pages as in manpage.1 --> manpage-16.1 to avoid # conflicts with fox14 and fox17