changeset 457:cf3e49c48268

use a bindir sink rather than hacking the Makefile of package proj
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 03 Oct 2009 23:50:28 +0200
parents 2402e62b091d
children 5040bd62e522
files src/proj.mk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/proj.mk	Sat Oct 03 23:19:01 2009 +0200
+++ b/src/proj.mk	Sat Oct 03 23:50:28 2009 +0200
@@ -38,11 +38,11 @@
 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