From nobody Mon Jun 12 19:45:34 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 4Qg2Gl36grz4csjn; Mon, 12 Jun 2023 19:45:35 +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 4Qg2Gk702dz40Q7; Mon, 12 Jun 2023 19:45:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686599135; 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=mNDGR212sxGb+6f9bkEFygL0f/kqrkoUtMbSlk5aVuc=; b=IXDlkx4QNaMZAqZSFZQGxhUhBEgPjaXSNcHCFtCMuALYJyidqwovs33T+LQI3ZMHXsJlme Qbx8n49BCWTPsqHyKT8+MW5p7XqUZCO+OuUnx8yd7YWGG5r2G4cvp/yn7YF22nv2ANklw+ EkEEdMvWlgwCtse4goXQqZjazPCm+S7dtr5SKrfYn3GOrBwfisq2f5Viv843WrPjsTSAMS p8x9Tj1R9PrNgQ5RaEC5JrM+PhNAK9cxQKDpozJd6bHoB4C0IR8dwo7BIyA4oNlIfVSjsl LxyEm+OGK6GGV7Gpih3sj2NI6mh84wJo2ZAXy89r0Qw9SRmoKGOTgCbOqhCW7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686599135; 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=mNDGR212sxGb+6f9bkEFygL0f/kqrkoUtMbSlk5aVuc=; b=hS1plh71sX+snIFwMQmMavUNkSDrZSJoOdj+22ss1b5fEyAm6DQUhoXFqW10y5UYipe+Km vOrHf9tH4JMr8h6wut3NZcLTdiOlF5OJjmgFMI8ie9Z1mLSF/OyjfogFe0YYt3mZIZpPer aXul94JTxMIPrIvXKqSDeEbzOpS/5o2dB2SuVYNe5s8JxvU7fuvpF0wdUXgSjDJEMs9T0/ +qn4uWyvj1mjrBoBGPYoiccIuRFE1ihUxdQ80QwwhGOuvFh4lY6CEoLTLXktLsAWt702xV Fj5OZPV+9MgNCR9Gs3DWxOndP0pUwD1/WWfoIFkbMo1bbVCzAVvUBQ7M+ViuHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686599135; a=rsa-sha256; cv=none; b=fZuDwZMy+MG2OFLFZF+BFAqBCrnhABmSnWPHvDkyKdnLPDWaHFXOsGRr92xnbF8co2v3+2 Mn2w6w/EHTEEUvUnVejZj1a59mJPWJLpuUcYOpCXUKbKYWC0ilMQUKzeo5BdlKUYzEHxA0 ZAX2lULkMh996ZHsbUXBH+Kegiq/C+4CF4F3yWr92ZF4IsZDDHXb5r7lWnJKtkj0kASbxc vJJ37RnJjnEA9E7ipBZ8o94T3LsX22ZrhRT30YSOCS1jxnpg/D1TyNrG62OhPlcWhl6eI7 HpyB6O0QSVt1tz3tmu8zDeBJeCbnban0kuR2kBHzBeDhoiS5rM+5LHv1AV6cKw== 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 4Qg2Gk5g6hzsYh; Mon, 12 Jun 2023 19:45:34 +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 35CJjY1s074225; Mon, 12 Jun 2023 19:45:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35CJjYho074224; Mon, 12 Jun 2023 19:45:34 GMT (envelope-from git) Date: Mon, 12 Jun 2023 19:45:34 GMT Message-Id: <202306121945.35CJjYho074224@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: a053d7c04f8b - main - devel/libexplain: Fix build on 14 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: a053d7c04f8bb49a49fae7d0556ee63cdd2f9085 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a053d7c04f8bb49a49fae7d0556ee63cdd2f9085 commit a053d7c04f8bb49a49fae7d0556ee63cdd2f9085 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-12 17:57:20 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-12 19:45:16 +0000 devel/libexplain: Fix build on 14 - Refactor USES=localbase - Pet portclippy Approved by: portmgr (blanket) --- devel/libexplain/Makefile | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/devel/libexplain/Makefile b/devel/libexplain/Makefile index 0d65b10a40fd..1f2546cb7e6e 100644 --- a/devel/libexplain/Makefile +++ b/devel/libexplain/Makefile @@ -12,20 +12,31 @@ WWW= http://libexplain.sourceforge.net/ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Upstream last release was in 2014 +#BROKEN_FreeBSD_14= Build fails with lots of error on llvm15 + BUILD_DEPENDS= gsed:textproc/gsed RUN_DEPENDS= lsof:sysutils/lsof -USES= bison gettext ghostscript:build gmake groff iconv libtool:build +USES= bison gettext ghostscript:build gmake groff iconv libtool:build localbase +USE_LDCONFIG= yes + GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_linux_kd_h=no -USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= DOCS PATCHLEVEL= D012 -OPTIONS_DEFINE= DOCS +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=14 +CPP= clang-cpp${LLVM_VERSION} +CC= clang${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +MAKE_JOBS_UNSAFE= yes +.endif .include