Skip to content

Commit

Permalink
devel/elfutils: Fix build
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
5u623l20 committed Dec 31, 2023
1 parent 301a0ee commit 2b0e78b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions devel/elfutils/Makefile
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2b0e78b

Please sign in to comment.