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)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-01 00:10:48 +01:00
parent 301a0ee920
commit 2b0e78b7b9

View file

@ -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