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)
This commit is contained in:
Mark Linimon 2018-12-22 01:57:32 +00:00
parent fc9c516346
commit ac5a7241d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488046

View file

@ -13,17 +13,21 @@ COMMENT= Program that scans a disk image and extracts useful information
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