summaryrefslogtreecommitdiffstats
path: root/src/proj.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-10-03 21:50:28 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-10-03 21:50:28 (GMT)
commitd53bac84b9575b8a1e5b6659d8ef857c41fd3d29 (patch)
treeba31700996c77811a7062e3cce4c57bcf0df5619 /src/proj.mk
parent48ba2c0424acb1c12897f435e18208a0e76263b3 (diff)
downloadmxe-d53bac84b9575b8a1e5b6659d8ef857c41fd3d29.zip
mxe-d53bac84b9575b8a1e5b6659d8ef857c41fd3d29.tar.gz
mxe-d53bac84b9575b8a1e5b6659d8ef857c41fd3d29.tar.bz2
use a bindir sink rather than hacking the Makefile of package proj
Diffstat (limited to 'src/proj.mk')
-rw-r--r--src/proj.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proj.mk b/src/proj.mk
index 773e54b..950a325 100644
--- a/src/proj.mk
+++ b/src/proj.mk
@@ -38,11 +38,11 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- $(SED) 's,install-exec-local[^:],,' -i '$(1)/src/Makefile.in'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
- --prefix='$(PREFIX)/$(TARGET)'
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --bindir='$(1)/bindirsink'
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef