mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Update the file command to 5.11
This commit is contained in:
22
sys-apps/file/file-5.11.bep
Normal file
22
sys-apps/file/file-5.11.bep
Normal file
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION="Identify a file's format by scanning binary data for patterns"
|
||||
HOMEPAGE="ftp://ftp.astron.com/pub/file/"
|
||||
SRC_URI="ftp://ftp.astron.com/pub/file/file-5.11.tar.gz"
|
||||
CHECKSUM_MD5="16a407bd66d6c7a832f3a5c0d609c27b"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd file-5.11
|
||||
autoreconf -fvi
|
||||
./configure --prefix="$(finddir B_COMMON_DIRECTORY)" \
|
||||
--mandir="$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man" \
|
||||
--datadir="$(finddir B_COMMON_DATA_DIRECTORY)"
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd file-5.11
|
||||
make install
|
||||
}
|
||||
LICENSE="BSD (2-clause)"
|
||||
COPYRIGHT="1986-1999 Ian F. Darwin"
|
||||
20
sys-apps/file/patches/file-5.11.patch
Normal file
20
sys-apps/file/patches/file-5.11.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
diff -up file-5.11/configure.ac.orig file-5.11/configure.ac
|
||||
--- file-5.11/configure.ac.orig 2012-02-21 12:16:29.015728640 -0700
|
||||
+++ file-5.11/configure.ac 2012-05-02 22:53:14.077594624 -0600
|
||||
@@ -142,14 +142,14 @@ else
|
||||
WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
|
||||
-Wmissing-declarations -Wredundant-decls -Wnested-externs \
|
||||
-Wsign-compare -Wreturn-type -Wswitch -Wshadow \
|
||||
- -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
|
||||
+ -Wcast-qual -Wwrite-strings"
|
||||
fi], [
|
||||
if test "$GCC" = yes; then
|
||||
AC_MSG_RESULT(yes)
|
||||
WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
|
||||
-Wmissing-declarations -Wredundant-decls -Wnested-externs \
|
||||
-Wsign-compare -Wreturn-type -Wswitch -Wshadow \
|
||||
- -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
|
||||
+ -Wcast-qual -Wwrite-strings"
|
||||
else
|
||||
WARNINGS=
|
||||
AC_MSG_RESULT(no)
|
||||
Reference in New Issue
Block a user