mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
Silver Searcher: bump, add cram (#2907)
This commit is contained in:
@@ -8,11 +8,12 @@ their patterns to a .agignore file.
|
||||
* Ag uses Pthreads to take advantage of multiple CPU cores and search files in \
|
||||
parallel."
|
||||
HOMEPAGE="https://github.com/ggreer/the_silver_searcher/"
|
||||
COPYRIGHT="2013-2017 Geoff Greer"
|
||||
COPYRIGHT="2013-2018 Geoff Greer"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/ggreer/the_silver_searcher/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="cb416a0da7fe354a009c482ae709692ed567f8e7d2dad4d242e726dd7ca202f0"
|
||||
CHECKSUM_SHA256="6a0a19ca5e73b2bef9481c29a508d2413ca1a0a9a5a6b1bd9bbd695a7626cbf9"
|
||||
SOURCE_FILENAME="the_silver_searcher-$portVersion.tar.gz"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -47,11 +48,17 @@ BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:autoheader
|
||||
cmd:automake
|
||||
cmd:clang_format
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
cmd:cram2
|
||||
cmd:git
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
aclocal
|
||||
@@ -65,6 +72,9 @@ BUILD()
|
||||
# Build fix, remove if solved
|
||||
sed --in-place '/HAVE_FOPENCOOKIE/d' src/config.h
|
||||
|
||||
# Test fix
|
||||
sed -i 's/cram/cram2/g' Makefile
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -75,5 +85,5 @@ INSTALL()
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user