which: install into /usr/bin
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 22 Jul 2008 13:59:42 +0000 (13:59 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 22 Jul 2008 13:59:42 +0000 (13:59 -0000)
package/which/which.mk

index bd0fd5ab08eeca1018118bea3029ccd24a8d84af..549030537b083314dae3b831ee5a1b4b5ecdce09 100644 (file)
@@ -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 $@