From 651d502b862732493ef8b022cfd24094f029e5c7 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 29 Jun 2018 16:38:07 +0000 Subject: - Fix build with clang 6 - Switch to options helpers --- security/steghide/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/security/steghide/Makefile b/security/steghide/Makefile index a40069e77e4a..1f6f851792ee 100644 --- a/security/steghide/Makefile +++ b/security/steghide/Makefile @@ -20,18 +20,15 @@ USES= gmake jpeg libtool:build perl5 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -fpermissive LIBS+= -L${LOCALBASE}/lib -lmcrypt +CXXFLAGS+= -Wno-static-float-init MAKE_ARGS= LIBTOOL="${LOCALBASE}/bin/libtool" OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes + NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls - -.include - -.if ${PORT_OPTIONS:MNLS} -LIBS+= -lintl -.endif +NLS_LIBS= -lintl post-patch: @${REINPLACE_CMD} '/CXXFLAGS=/s|-O2|${CXXFLAGS}|' ${WRKSRC}/configure -- cgit v1.2.3