summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-07-22 13:59:42 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-07-22 13:59:42 +0000
commite711739c9ff7c1099aaf716492de2cef6d6c3c0c (patch)
tree48f73a1db4b14c5435a8c7fdf90b602347c8cd91
parent181fc86c502cf8f8a3415d9c6aa7ec2965bf6556 (diff)
downloadbuildroot-novena-e711739c9ff7c1099aaf716492de2cef6d6c3c0c.tar.gz
buildroot-novena-e711739c9ff7c1099aaf716492de2cef6d6c3c0c.zip
which: install into /usr/bin
-rw-r--r--package/which/which.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/which/which.mk b/package/which/which.mk
index bd0fd5ab0..549030537 100644
--- a/package/which/which.mk
+++ b/package/which/which.mk
@@ -9,7 +9,7 @@ WHICH_SITE:=http://www.xs4all.nl/~carlo17/which/
WHICH_DIR:=$(BUILD_DIR)/which-$(WHICH_VERSION)
WHICH_CAT:=$(ZCAT)
WHICH_BINARY:=which
-WHICH_TARGET_BINARY:=bin/which
+WHICH_TARGET_BINARY:=usr/bin/which
$(DL_DIR)/$(WHICH_SOURCE):
$(WGET) -P $(DL_DIR) $(WHICH_SITE)/$(WHICH_SOURCE)
@@ -29,7 +29,8 @@ $(WHICH_DIR)/.configured: $(WHICH_DIR)/.unpacked
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
- --prefix=/ \
+ --prefix=/usr \
+ --sysconfdir=/etc \
)
touch $@