direnv: patch makefile to set correct PREFIX
This commit is contained in:
parent
abb053274b
commit
283c1337a1
11
packages/direnv/GNUmakefile.patch
Normal file
11
packages/direnv/GNUmakefile.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ./GNUmakefile.orig 2021-09-07 19:57:19.175164197 +0000
|
||||||
|
+++ ./GNUmakefile 2021-09-07 19:57:28.528497597 +0000
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
############################################################################
|
||||||
|
|
||||||
|
# Set this to change the target installation path
|
||||||
|
-PREFIX = /usr/local
|
||||||
|
+PREFIX ?= /usr/local
|
||||||
|
BINDIR = ${PREFIX}/bin
|
||||||
|
SHAREDIR = ${PREFIX}/share
|
||||||
|
MANDIR = ${SHAREDIR}/man
|
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Environment switcher for shell"
|
|||||||
TERMUX_PKG_LICENSE="MIT"
|
TERMUX_PKG_LICENSE="MIT"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=2.28.0
|
TERMUX_PKG_VERSION=2.28.0
|
||||||
TERMUX_PKG_REVISION=1
|
TERMUX_PKG_REVISION=2
|
||||||
TERMUX_PKG_SRCURL=https://github.com/direnv/direnv/archive/v$TERMUX_PKG_VERSION.tar.gz
|
TERMUX_PKG_SRCURL=https://github.com/direnv/direnv/archive/v$TERMUX_PKG_VERSION.tar.gz
|
||||||
TERMUX_PKG_SHA256=fa539c63034b6161d8238299bb516dcec79e8905cd43ff2b9559ad6bf047cc93
|
TERMUX_PKG_SHA256=fa539c63034b6161d8238299bb516dcec79e8905cd43ff2b9559ad6bf047cc93
|
||||||
TERMUX_PKG_AUTO_UPDATE=true
|
TERMUX_PKG_AUTO_UPDATE=true
|
||||||
|
Loading…
Reference in New Issue
Block a user