svn commit: r473558 - head/security/steghide

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Jun 29 16:38:08 UTC 2018


Author: amdmi3
Date: Fri Jun 29 16:38:07 2018
New Revision: 473558
URL: https://svnweb.freebsd.org/changeset/ports/473558

Log:
  - Fix build with clang 6
  - Switch to options helpers

Modified:
  head/security/steghide/Makefile

Modified: head/security/steghide/Makefile
==============================================================================
--- head/security/steghide/Makefile	Fri Jun 29 16:36:04 2018	(r473557)
+++ head/security/steghide/Makefile	Fri Jun 29 16:38:07 2018	(r473558)
@@ -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 <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-LIBS+=		-lintl
-.endif
+NLS_LIBS=	-lintl
 
 post-patch:
 	@${REINPLACE_CMD} '/CXXFLAGS=/s|-O2|${CXXFLAGS}|' ${WRKSRC}/configure


More information about the svn-ports-all mailing list