svn commit: r512503 - head/security/steghide
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Sep 21 15:04:39 UTC 2019
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
More information about the svn-ports-all
mailing list