diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-11-13 06:21:30 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-11-13 06:21:47 (GMT) |
commit | 2dd882c605f1f8ae1b4785a1929919ad212894fa (patch) | |
tree | 8ecd6e724f523f4b81ba76d026b3d7a4ad4e9120 /src/apr.mk | |
parent | 41592edbd049c8500425ae5fdefadea0df2677be (diff) | |
download | mxe-2dd882c605f1f8ae1b4785a1929919ad212894fa.zip mxe-2dd882c605f1f8ae1b4785a1929919ad212894fa.tar.gz mxe-2dd882c605f1f8ae1b4785a1929919ad212894fa.tar.bz2 |
apr[-util]: Update
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/apr.mk')
-rw-r--r-- | src/apr.mk | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -2,13 +2,13 @@ # See index.html for further information. PKG := apr -$(PKG)_IGNORE := 1.5% -$(PKG)_VERSION := 1.4.2 -$(PKG)_CHECKSUM := d48324efb0280749a5d7ccbb053d68545c568b4b +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.5.1 +$(PKG)_CHECKSUM := 9caa83e3f50f3abc9fab7c4a3f2739a12b14c3a3 $(PKG)_SUBDIR := apr-$($(PKG)_VERSION) $(PKG)_FILE := apr-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := http://mirror.apache-kr.org/apr/$($(PKG)_FILE) -$(PKG)_URL_2 := http://archive.apache.org/dist/apr/$($(PKG)_FILE) +$(PKG)_URL := http://archive.apache.org/dist/apr/$($(PKG)_FILE) +$(PKG)_URL_2 := http://mirror.apache-kr.org/apr/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE @@ -18,6 +18,10 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + cp -Rp '$(1)' '$(1).native' + cd '$(1).native' && ./configure + cd '$(1).native' && make tools/gen_test_char \ + CFLAGS='-DNEED_ENHANCED_ESCAPES' cd '$(1)' && ./configure \ $(MXE_CONFIGURE_OPTS) \ ac_cv_sizeof_off_t=4 \ @@ -25,6 +29,7 @@ define $(PKG)_BUILD ac_cv_sizeof_size_t=4 \ ac_cv_sizeof_ssize_t=4 \ CFLAGS=-D_WIN32_WINNT=0x0500 - $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= LDFLAGS=-no-undefined + $(MAKE) -C '$(1)' -j 1 install GEN_TEST_CHAR='$(1).native/tools/gen_test_char' + ln -sf '$(PREFIX)/$(TARGET)/bin/apr-1-config' '$(PREFIX)/bin/$(TARGET)-apr-1-config' endef |