Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2019 15:04:39 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512503 - head/security/steghide
Message-ID:  <201909211504.x8LF4dmM039998@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Sep 21 15:04:38 2019
New Revision: 512503
URL: https://svnweb.freebsd.org/changeset/ports/512503

Log:
  security/steghide: fix build on GCC architectures
  
  Add -Wno-static-float-init only when clang is used. Also add USES=localbase.
  
  Approved by:	linimon (mentor)
  Differential Revision:	https://reviews.freebsd.org/D21407

Modified:
  head/security/steghide/Makefile

Modified: head/security/steghide/Makefile
==============================================================================
--- head/security/steghide/Makefile	Sat Sep 21 14:44:42 2019	(r512502)
+++ head/security/steghide/Makefile	Sat Sep 21 15:04:38 2019	(r512503)
@@ -16,11 +16,12 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libmcrypt.so:security/libmcrypt \
 		libmhash.so:security/mhash
 
-USES=		gmake jpeg libtool:build perl5
+USES=		compiler gmake jpeg libtool:build localbase perl5
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include -fpermissive
-LIBS+=		-L${LOCALBASE}/lib -lmcrypt
-CXXFLAGS+=	-Wno-static-float-init
+CPPFLAGS+=	-fpermissive
+LIBS+=		-lmcrypt
+CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
+CXXFLAGS_clang=	-Wno-static-float-init
 MAKE_ARGS=	LIBTOOL="${LOCALBASE}/bin/libtool"
 
 OPTIONS_DEFINE=	DOCS NLS



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