From nobody Sun Jun 25 18:10:02 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 4QpzXX5w8mz4jGRQ; Sun, 25 Jun 2023 18:10:04 +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 4QpzXW506Yz3l6B; Sun, 25 Jun 2023 18:10:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687716603; 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=TwLFzfDMuuR7XitwvGy+Gncw1seKogucpWFHWGAE4tg=; b=gGBxOrx6fzGqtgm82pw8AgnfJTaGv0XFZ5nLyGpo47mxjGvJs+0z+YAJJ02NXFpz1gmPtD hDv6l7RxCcyQ/k/sBSHD8YtznIibO1BlKUv9e0b2sR/w6VEda4Q53tK1yQtHBpsxMEtjbv b9jrMmfoCOBkG2RapKqJgJY0MURvmaKdqEd6wmotYuVYR/C/5KsbQEtVINpdtElF18eH2r AglqWd29baicbeJHE69vSgJrZyW73C7dO1eUkh2Hlk36olilf8IUh/XxoIwjmYqANWAuy0 Ocvdc/DmgHN6Mcit9yCVlS552lS221Og5neBgjiALRjqU5yw9KNhPSIA3kliBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687716603; 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=TwLFzfDMuuR7XitwvGy+Gncw1seKogucpWFHWGAE4tg=; b=cV4c2Ga6wZldVSMXhjECtsFrQESU8rfe+oZ0eIMtCekyCqVjzOT3LTE4bRHAoDexknZhb/ GTD/ZU6F2APt+izAdbZl+k2643aRQf3fyD23+ZkVndSrkT8oZJPzhP8ZyPJViulVCxhSSx tNG/sbUfD4V08kZMc4hR/OPFT5CdWfKOTKl6qdkTsDWVehF/6kPkqX8+sVt8StmSN1/2Np EeOVobXuWfsObeC/tXrHLJfBJk/dQ578oXPOK1HemUpzgvPZaY2WLPDnoKNlUzVZMgFifW O8gEn7GBeRO2j4maOCbxbTHUX8xWnhJnT+cpm/MUIv2sUJlUp19pfvTKHNM3MQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687716603; a=rsa-sha256; cv=none; b=OkreEisnKpzLPh+vbw0EE//Y/Ax8Iwxqpe3M2txeVGkZ7wzCT8Blk65ns1HlkvpHJ7FUdm 6Y8Aov7lzvYMKyz6QKEFjDQ7BgCH0gUDzVNnViZDTKxcumt+Bei8OfhnTbVSOaCvftH92K XuY14jHg9kr/ZxTa6NfcydQf1Anz8LtDGKbMNq592AZdM+i+VQpVcM6FxGB6MX/FoxKHYA NQR2UxfeD4EvtIHwAdmgFQ8gQCvVZBB7SiY1ZSgVVxXFKD7cxMtGaUbz8Ntjv9oHObM2IV zB717+bI8Rc3btBWLlIc/B828Kbb5OXxPXFDbc5Df8tkglHqok8x9hEWQxManw== 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 4QpzXV6ySszclR; Sun, 25 Jun 2023 18:10:02 +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 35PIA2YC094264; Sun, 25 Jun 2023 18:10:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35PIA2N4094262; Sun, 25 Jun 2023 18:10:02 GMT (envelope-from git) Date: Sun, 25 Jun 2023 18:10:02 GMT Message-Id: <202306251810.35PIA2N4094262@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: 0a27454da6bc - main - graphics/plotutils: 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: 0a27454da6bc1aa6c723bdf2fcd56845defef3d0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a27454da6bc1aa6c723bdf2fcd56845defef3d0 commit 0a27454da6bc1aa6c723bdf2fcd56845defef3d0 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-25 12:12:47 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-25 18:09:48 +0000 graphics/plotutils: Fix build with llvm16 - Utilize USES=localbase - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/plotutils/Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/graphics/plotutils/Makefile b/graphics/plotutils/Makefile index 8d36e0d7bdb6..b9883a7df9d1 100644 --- a/graphics/plotutils/Makefile +++ b/graphics/plotutils/Makefile @@ -13,16 +13,21 @@ LICENSE= GPLv3 LIB_DEPENDS= libpng.so:graphics/png -USES= gmake libtool xorg # parallel builds are broken with bmake(1) -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-libplotter --enable-libxmi +USES= gmake libtool localbase:ldflags xorg # parallel builds are broken with bmake(1) USE_LDCONFIG= yes USE_XORG= ice sm x11 xaw xext xmu xt -TEST_TARGET= check -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-libplotter --enable-libxmi + +TEST_TARGET= check INFO= libxmi plotutils +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + .include