From nobody Sun Dec 31 23:12:07 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 4T3FHr14B9z55X93; Sun, 31 Dec 2023 23:12:08 +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 4T3FHr0frzz4Lh0; Sun, 31 Dec 2023 23:12:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704064328; 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=dH/UjNHdjMzF3EFVzxn/oQ/RX5cLB2Hng29FmE2O7Yc=; b=WN9EEO3uDEj5jI6xp3c1cpFyaaGyl2qagij8eomnugq7uJtIys666HinjljDUGKdqoFStt 6WghbQloA0cXMExJPLec384Pd0PIxLCwIzcYZPe/TMGnsNtn5o6Gvtkc9ylFpxrxPzKIA7 k59qVL2KrkdvJhFnR+ZxUr4Lefk4vkq3lLlku8qiSMMupLsc5eRkUMWretEED2zVgQKjJR f1qoTMArYbzYcgbDa9h/yFEJqX/oJzAQR9JW71lBQ+jLF/ttasZ6bxH5noDvivdGMy/aQn adabS/M/MWV6DDVXypzVhM6tSI1ITHLemyAt5HOyiAIRwcHqO3Ny0dVCpI1OLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704064328; a=rsa-sha256; cv=none; b=I+iYp8rWqxL9Yr1jZx/HzIqf+Dpjd6ehEy9JjJGQW2O/XLcA/dE+kkUt1aLgyofnVLMTRJ 9qj8BSbuYEh650Cu6Luh4dcHde68I0yE9oSglFKm6rdQJG4cpdXf7PwAJJLSmJm0HuKkKC Hdb2CjbLDgM6JoaIGFHB7WE7wu6r9wQ739UKYzxWv7nQjhBwcOes6zqY3/W22paPtpFPrr 9Ad+qBhznHPArQQz+WuxHSLeYUklVWKwPya/+ZAYKo9cesA97Nu5AsOmQFT68KuBwRLxsU IjVrPyooTLAcIJvAhu/DYX3Q4XTynqmsw51LB4UfLXTniMA8lQcC0xMTudx7eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704064328; 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=dH/UjNHdjMzF3EFVzxn/oQ/RX5cLB2Hng29FmE2O7Yc=; b=qWb5bpNN1UfbTPT+sb8/dDeVqkQjx4aU74s+yF3sZVs45YmWYldcMgP9JEug3wG/n/z1uG FulOPzkJC5h4nTIt6HZV07mTPnq3a1IUZUFfI8lVNDkL56EeyEPvTIZrsoEjikD+JIE4oO 1zBVoq3d+g8F48gaTuVbSvQnzj+EXaaR8QIuHlWuk//i4SIeohqr7rT8p5aC/g4Mb9/9R2 hiQlZV8yBXO6Zi5nRCZP1Wim5oIXtcV6dPumLejJd/wWH1YQdv3AQRefJjEH56NY7t6gfu eF14zt2ESsjTnHj5A6Gwa3hGD5mgbefsYvgB0c4pZ8fEi9VHMCAbJu0SQ6W0PQ== 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 4T3FHq6rG4ztqK; Sun, 31 Dec 2023 23:12:07 +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 3BVNC7KQ030450; Sun, 31 Dec 2023 23:12:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BVNC7jN030447; Sun, 31 Dec 2023 23:12:07 GMT (envelope-from git) Date: Sun, 31 Dec 2023 23:12:07 GMT Message-Id: <202312312312.3BVNC7jN030447@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: 2b0e78b7b9cb - main - devel/elfutils: Fix build 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: 2b0e78b7b9cb84fef820a5799a810e8e579d36f4 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b0e78b7b9cb84fef820a5799a810e8e579d36f4 commit 2b0e78b7b9cb84fef820a5799a810e8e579d36f4 Author: Muhammad Moinur Rahman AuthorDate: 2023-12-31 23:10:48 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-12-31 23:12:03 +0000 devel/elfutils: Fix build While the EOL of 12 some conditionals check were removed and a CFLAG entry was converted to USES=localbase. Somehow this breaks the build. Reported by: antoine Approved by: portmgr (blanket) --- devel/elfutils/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/devel/elfutils/Makefile b/devel/elfutils/Makefile index 4b82c68eae73..16a76e20256a 100644 --- a/devel/elfutils/Makefile +++ b/devel/elfutils/Makefile @@ -21,7 +21,10 @@ BUILD_DEPENDS= gnulib>=0:devel/gnulib PLIST_SUB= VERSION=${PORTVERSION} -CFLAGS+= -I${LOCALBASE}/share/gnulib/lib \ +# Although the following line is synonymous to USES=localbase +# it breaks the build +CFLAGS+= -I${LOCALBASE}/include \ + -I${LOCALBASE}/share/gnulib/lib \ -DFREEBSD_HAS_MEMPCPY LDFLAGS+= ${LOCALBASE}/lib/libargp.so \ ${LOCALBASE}/lib/libintl.so @@ -34,7 +37,7 @@ NLS_USES= gettext NLS_USES_OFF= gettext # used anyway NLS_CONFIGURE_ENABLE= nls -USES= autoreconf cpe gmake libtool localbase pkgconfig tar:bzip2 +USES= autoreconf cpe gmake libtool pkgconfig tar:bzip2 CPE_VENDOR= ${PORTNAME}_project GNU_CONFIGURE= yes USE_LDCONFIG= yes