summaryrefslogtreecommitdiffstats
path: root/src/agg.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-09-08 18:17:59 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-09-08 18:17:59 (GMT)
commit53207749838f38b331c9049467d45fd55fbfb701 (patch)
tree5ea83f63798cea009f74f2d629bb1e7ddff43fd7 /src/agg.mk
parent4e2da0d73a14fbe139d4b096cdb0d6d87a60f3db (diff)
downloadmxe-53207749838f38b331c9049467d45fd55fbfb701.zip
mxe-53207749838f38b331c9049467d45fd55fbfb701.tar.gz
mxe-53207749838f38b331c9049467d45fd55fbfb701.tar.bz2
agg: fix libtool and automake errors
Diffstat (limited to 'src/agg.mk')
-rw-r--r--src/agg.mk11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/agg.mk b/src/agg.mk
index 63b0390..a8c7c5d 100644
--- a/src/agg.mk
+++ b/src/agg.mk
@@ -22,13 +22,10 @@ define $(PKG)_UPDATE_OLD
endef
define $(PKG)_BUILD
- $(SED) -i 's,aclocal,aclocal -I $(PREFIX)/$(TARGET)/share/aclocal,' '$(1)/autogen.sh'
- $(SED) -i 's,libtoolize,$(LIBTOOLIZE),' '$(1)/autogen.sh'
- cd '$(1)' && $(SHELL) ./autogen.sh \
- --host='$(TARGET)' \
- --build="`config.guess`" \
- --disable-shared \
- --prefix='$(PREFIX)/$(TARGET)' \
+ $(foreach f,authors news readme, mv '$(1)/$f' '$(1)/$f_';mv '$(1)/$f_' '$(1)/$(call uc,$f)';)
+ cd '$(1)' && autoreconf -fi -I $(PREFIX)/$(TARGET)/share/aclocal
+ cd '$(1)' && $(SHELL) ./configure \
+ $(MXE_CONFIGURE_OPTS) \
--without-x
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef