summaryrefslogtreecommitdiffstats
path: root/src/file.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-05-12 12:35:52 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-05-12 12:35:52 (GMT)
commit637180153873d9a3a609441481b8fa319d4c6b86 (patch)
treed04ec66eb210e0c190aee82174919a72a7b68280 /src/file.mk
parent8acdc8dd57a4341a5875b8ab17f4882b679b6eff (diff)
downloadmxe-637180153873d9a3a609441481b8fa319d4c6b86.zip
mxe-637180153873d9a3a609441481b8fa319d4c6b86.tar.gz
mxe-637180153873d9a3a609441481b8fa319d4c6b86.tar.bz2
update package file
Diffstat (limited to 'src/file.mk')
-rw-r--r--src/file.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/file.mk b/src/file.mk
index 6f7b742..f3f9e9a 100644
--- a/src/file.mk
+++ b/src/file.mk
@@ -3,7 +3,7 @@
PKG := file
$(PKG)_IGNORE :=
-$(PKG)_CHECKSUM := 782db8a2b37ff8ceada9d19c416eaf6c5b8297d4
+$(PKG)_CHECKSUM := 064c8f17a5f7ae1e336a9285131e046d3b2d04d7
$(PKG)_SUBDIR := file-$($(PKG)_VERSION)
$(PKG)_FILE := file-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := ftp://ftp.astron.com/pub/file/$($(PKG)_FILE)
@@ -30,7 +30,8 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--build="`config.guess`" \
--disable-shared \
- --prefix='$(PREFIX)/$(TARGET)'
+ --prefix='$(PREFIX)/$(TARGET)' \
+ CFLAGS=-DHAVE_PREAD
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= FILE_COMPILE='$(1).native/src/file'
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS=