summaryrefslogtreecommitdiffstats
path: root/src/agg.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2011-11-28 05:42:01 (GMT)
committerTony Theodore <tonyt@logyst.com>2011-11-28 05:42:01 (GMT)
commitff475f5abbaf7e98c72bbe7b682aedfba69ed84f (patch)
tree7c121ebac88b2deb0144ea18ca4e0003f84e697f /src/agg.mk
parentff98a17d4f94b8c7ae8e50cf82a270e500f3f5a2 (diff)
downloadmxe-ff475f5abbaf7e98c72bbe7b682aedfba69ed84f.zip
mxe-ff475f5abbaf7e98c72bbe7b682aedfba69ed84f.tar.gz
mxe-ff475f5abbaf7e98c72bbe7b682aedfba69ed84f.tar.bz2
package agg: portability fix and extra dependencies
Diffstat (limited to 'src/agg.mk')
-rw-r--r--src/agg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/agg.mk b/src/agg.mk
index ef7934d..b5ed094 100644
--- a/src/agg.mk
+++ b/src/agg.mk
@@ -9,7 +9,7 @@ $(PKG)_SUBDIR := agg-$($(PKG)_VERSION)
$(PKG)_FILE := agg-$($(PKG)_VERSION).tar.gz
$(PKG)_WEBSITE := http://www.antigrain.com
$(PKG)_URL := http://www.antigrain.com/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc
+$(PKG)_DEPS := gcc freetype sdl
define $(PKG)_UPDATE
wget -q -O- 'http://www.antigrain.com/download/index.html' | \
@@ -18,6 +18,8 @@ define $(PKG)_UPDATE
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='$(BUILD)' \