Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2018 01:57:32 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488046 - head/sysutils/bulk_extractor
Message-ID:  <201812220157.wBM1vWLw085045@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sat Dec 22 01:57:32 2018
New Revision: 488046
URL: https://svnweb.freebsd.org/changeset/ports/488046

Log:
  This port needs USES=compiler:c++11-lang to build on GCC-based
  architectures.
  
  To build on powerpc* platforms, -DBIG_ENDIAN must be defined.
  
  While here, add USES=gnome, simplify by using localbase, and pet
  portlint.
  
  PR:		234226
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/sysutils/bulk_extractor/Makefile

Modified: head/sysutils/bulk_extractor/Makefile
==============================================================================
--- head/sysutils/bulk_extractor/Makefile	Sat Dec 22 01:52:08 2018	(r488045)
+++ head/sysutils/bulk_extractor/Makefile	Sat Dec 22 01:57:32 2018	(r488046)
@@ -13,17 +13,21 @@ COMMENT=	Program that scans a disk image and extracts 
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		autoreconf iconv:wchar_t sqlite ssl
-USE_GNOME=	libxml2
 LIB_DEPENDS=	libafflib.so:sysutils/afflib \
 		libboost_system.so:devel/boost-libs \
 		libewf.so:devel/libewf \
 		libexiv2.so:graphics/exiv2 \
 		libexpat.so:textproc/expat2
 
+USES=		autoreconf compiler:c++11-lang gnome iconv:wchar_t localbase \
+		sqlite ssl
+USE_GNOME=	libxml2
+
 GNU_CONFIGURE=	yes
+CXXFLAGS_powerpc=	-DBIG_ENDIAN
+CXXFLAGS_powerpcspe=	-DBIG_ENDIAN
+CXXFLAGS_powerpc64=	-DBIG_ENDIAN
 CONFIGURE_ARGS=	--enable-exiv2=true
-CPPFLAGS+=	-I${LOCALBASE}/include
 
 PLIST_FILES=	bin/bulk_extractor bin/plugin_test man/man1/bulk_extractor.1.gz
 



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