git: 2b0e78b7b9cb - main - devel/elfutils: Fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Dec 2023 23:12:07 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b0e78b7b9cb84fef820a5799a810e8e579d36f4 commit 2b0e78b7b9cb84fef820a5799a810e8e579d36f4 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-12-31 23:10:48 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> 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