From owner-svn-ports-head@freebsd.org Sat Sep 21 15:04:39 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AC323126C62; Sat, 21 Sep 2019 15:04:39 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46bDQH3GZdz4cK9; Sat, 21 Sep 2019 15:04:39 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 54D16FFAA; Sat, 21 Sep 2019 15:04:39 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8LF4ds0039999; Sat, 21 Sep 2019 15:04:39 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8LF4dmM039998; Sat, 21 Sep 2019 15:04:39 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201909211504.x8LF4dmM039998@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sat, 21 Sep 2019 15:04:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512503 - head/security/steghide X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/security/steghide X-SVN-Commit-Revision: 512503 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Sep 2019 15:04:39 -0000 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