calc: pass LONG_BITS in TERMUX_PKG_EXTRA_MAKE ARGS
That one was missed in previous f12977efdf
("calc: patch Makefile
instead of overriding a lot of variables").
Also unset LDCONFIG variable, we don't need a ldconfig step.
This commit is contained in:
parent
aa7d39daa5
commit
c44db19566
@ -1,5 +1,5 @@
|
||||
--- ../calc-2.14.0.14/Makefile 2021-12-28 03:09:44.000000000 +0000
|
||||
+++ ./Makefile 2022-02-06 20:21:21.491282701 +0000
|
||||
--- ../calc-2.14.0.14/Makefile 2021-12-28 04:09:44.000000000 +0100
|
||||
+++ ./Makefile 2022-02-13 08:21:45.500630887 +0100
|
||||
@@ -136,7 +136,7 @@
|
||||
#
|
||||
# PREFIX= /usr/local
|
||||
@ -9,15 +9,6 @@
|
||||
#PREFIX= /usr
|
||||
#PREFIX= /usr/global
|
||||
|
||||
@@ -261,7 +261,7 @@
|
||||
#
|
||||
# Select LONG_BITS= 32 for DJGPP.
|
||||
#
|
||||
-LONG_BITS=
|
||||
+#LONG_BITS=
|
||||
#LONG_BITS= 32
|
||||
#LONG_BITS= 64
|
||||
|
||||
@@ -779,8 +779,8 @@
|
||||
#endif /* end of skip for non-Gnu makefiles */
|
||||
|
||||
@ -138,6 +129,15 @@
|
||||
AWK= awk
|
||||
CAT= cat
|
||||
CHMOD= chmod
|
||||
@@ -1321,7 +1321,7 @@
|
||||
GREP= egrep
|
||||
HOSTNAME= hostname
|
||||
LANG= C
|
||||
-LDCONFIG= ldconfig
|
||||
+LDCONFIG=
|
||||
LN= ln
|
||||
LS= ls
|
||||
MAKE= make
|
||||
@@ -1508,7 +1508,7 @@
|
||||
BLD_TYPE= calc-dynamic-only
|
||||
#
|
||||
|
@ -3,10 +3,11 @@ TERMUX_PKG_DESCRIPTION="Arbitrary precision console calculator"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2.14.0.14
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SRCURL=https://github.com/lcn2/calc/releases/download/v$TERMUX_PKG_VERSION/calc-$TERMUX_PKG_VERSION.tar.bz2
|
||||
TERMUX_PKG_SHA256=f7727835a103d9712c571958e924e9c254bd148f08eb4348019bc34f8e71c55d
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_DEPENDS="ncurses, ncurses-ui-libs, readline"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_MAKE_ARGS="LONG_BITS=$TERMUX_ARCH_BITS"
|
||||
TERMUX_MAKE_PROCESSES=1
|
||||
|
Loading…
Reference in New Issue
Block a user