Skip to contentSkip to conversation

package/zstd: Install tools into /usr/bin, not /usr/local/bin

PATCH New Andrey Smirnov 3 participants 3 messages Sep 16, 2017 – Sep 20, 2017 Zstd

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/zstd: Install tools into /usr/bin, not /usr/local/bin

Install tools into /usr/bin, not /usr/local/bin, since /usr/local/bin is not in PATH by deafault.

---

 package/zstd/zstd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/zstd/zstd.mk +1 -1
index 475079dbfe..9a6e286954 100644
@@ -43,7 +43,7 @@ endef
 
 define ZSTD_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \
-		DESTDIR=$(TARGET_DIR) -C $(@D)/programs install
+		DESTDIR=$(TARGET_DIR) PREFIX= -C $(@D)/programs install
 endef
 
 $(eval $(generic-package))
Signature · 1 line
2.13.5
#1 lore raw

PATCH 1/1 package/zstd: Install tools into /usr/bin, not /usr/local/bin

Am Fri, 15 Sep 2017 17:27:12 -0700 schrieb Andrey Smirnov:

Quoted 5 lines

Install tools into /usr/bin, not /usr/local/bin, since /usr/local/bin is not in PATH by deafault.

Signed-off-by: Andrey Smirnov
<[email protected]>

#2 lore raw

PATCH 1/1 package/zstd: Install tools into /usr/bin, not /usr/local/bin

In reply to Andrey Smirnov
Quoted 16 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Andrey" == Andrey Smirnov <[email protected]> writes:

Install tools into /usr/bin, not /usr/local/bin, since /usr/local/bin is not in PATH by deafault.

---

 package/zstd/zstd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/zstd/zstd.mk +0 -0
index 475079dbfe..9a6e286954 100644

package/zstd/zstd.mk endef · line 46

Quoted 5 lines
package/zstd/zstd.mk +1 -1
@@ -43,7 +43,7 @@ endef
 
 define ZSTD_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \
-		DESTDIR=$(TARGET_DIR) -C $(@D)/programs install
+		DESTDIR=$(TARGET_DIR) PREFIX= -C $(@D)/programs install

PREFIX='' would install into /bin, so I've changed this to PREFIX=/usr and committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard