cpio: fix build

This commit is contained in:
Sergei Reznikov
2015-07-15 13:40:58 +03:00
parent f0d7a823c4
commit e7c2db1e1a

View File

@@ -1,6 +1,5 @@
SUMMARY="GNU cpio copies files into or out of a cpio or tar archive"
DESCRIPTION="
GNU cpio copies files into or out of a cpio or tar archive. \
DESCRIPTION="GNU cpio copies files into or out of a cpio or tar archive. \
The archive can be another file on the disk, a magnetic tape, or a pipe.
GNU cpio supports the following archive formats: binary, old ASCII, \
@@ -9,10 +8,9 @@ The tar format is provided for compatability with the tar program. \
By default, cpio creates binary format archives, for compatibility \
with older cpio programs. When extracting from archives, cpio automatically \
recognizes which kind of archive it is reading and can read archives created \
on machines with a different byte-order.
"
on machines with a different byte-order."
HOMEPAGE="http://www.gnu.org/software/cpio/cpio.html"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SOURCE_URI="http://ftp.gnu.org/gnu/cpio/cpio-2.11.tar.gz"
@@ -22,15 +20,15 @@ PATCHES="cpio-$portVersion.patchset"
PROVIDES="
cpio = $portVersion
cmd:cpio
"
"
REQUIRES="
haiku
"
"
BUILD_REQUIRES="
devel:libiconv
"
"
BUILD_PREREQUIRES="
haiku_devel
@@ -43,14 +41,14 @@ BUILD_PREREQUIRES="
cmd:make
cmd:sh
cmd:yacc
"
"
BUILD()
{
aclocal
autoreconf
autoconf
runConfigure ./configure
CFLAGS=-D_BSD_SOURCE runConfigure ./configure
make $jobArgs
}