Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2018 16:38:07 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473558 - head/security/steghide
Message-ID:  <201806291638.w5TGc7kL077337@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806291638.w5TGc7kL077337>