Changeset View
Changeset View
Standalone View
Standalone View
devel/elfutils/Makefile
Show All 27 Lines | |||||
OPTIONS_DEFINE= NLS | OPTIONS_DEFINE= NLS | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
NLS_USES= gettext | NLS_USES= gettext | ||||
NLS_USES_OFF= gettext # used anyway | NLS_USES_OFF= gettext # used anyway | ||||
NLS_CONFIGURE_ENABLE= nls | NLS_CONFIGURE_ENABLE= nls | ||||
USES= autoreconf gmake libtool tar:bzip2 | USES= autoreconf gmake libtool tar:bzip2 | ||||
USE_GCC= 7 | USE_GCC= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CFLAGS+= -Wno-null-dereference -Wno-unused-value | CFLAGS+= -Wno-null-dereference -Wno-unused-value | ||||
# For GCC8: | |||||
CFLAGS+= -Wno-cast-function-type | |||||
# Give i386 a prayer of building, and we can fix the warnings later: | # Give i386 a prayer of building, and we can fix the warnings later: | ||||
CFLAGS_i386+= -Wno-error | CFLAGS_i386+= -Wno-error | ||||
# Avoid conflict with binutils / elftoolchain programs with the same names: | # Avoid conflict with binutils / elftoolchain programs with the same names: | ||||
CONFIGURE_ARGS+= --program-prefix=eu- | CONFIGURE_ARGS+= --program-prefix=eu- | ||||
post-patch: | post-patch: | ||||
@${LN} -s `${MAKE} -C ${PORTSDIR}/devel/gnulib -V WRKSRC` ${WRKDIR}/gnulib | @${LN} -s `${MAKE} -C ${PORTSDIR}/devel/gnulib -V WRKSRC` ${WRKDIR}/gnulib | ||||
@${CP} -a \ | @${CP} -a \ | ||||
${WRKDIR}/gnulib/lib/obstack.c \ | ${WRKDIR}/gnulib/lib/obstack.c \ | ||||
${WRKDIR}/gnulib/lib/obstack.h \ | ${WRKDIR}/gnulib/lib/obstack.h \ | ||||
${WRKDIR}/gnulib/lib/obstack_printf.c \ | ${WRKDIR}/gnulib/lib/obstack_printf.c \ | ||||
${WRKSRC}/lib | ${WRKSRC}/lib | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |