chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f7e141d
)
transmission: Avoid modifying LDFLAGS directly
author
Fredrik Fornwall
<fredrik@fornwall.net>
Sat, 3 Sep 2016 21:36:59 +0000
(17:36 -0400)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Sat, 3 Sep 2016 21:36:59 +0000
(17:36 -0400)
packages/transmission/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/transmission/build.sh
b/packages/transmission/build.sh
index 6ee79dbbdeeebca038619cf57df655e34f138c5e..4e1b018f9abc829c9ef9732af8b5c38f877a6a9c 100755
(executable)
--- a/
packages/transmission/build.sh
+++ b/
packages/transmission/build.sh
@@
-6,12
+6,12
@@
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=https://transmission.cachefly.net/transmission-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-gtk --enable-lightweight --cache-file=termux_configure.cache"
TERMUX_PKG_SRCURL=https://transmission.cachefly.net/transmission-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-gtk --enable-lightweight --cache-file=termux_configure.cache"
-# liblog for android logging in syslog hack
-export LDFLAGS="$LDFLAGS -llog"
+termux_step_pre_configure() {
+ # liblog for android logging in syslog hack:
+ LDFLAGS+=" -llog"
-termux_step_pre_configure () {
- cd $TERMUX_PKG_SRCDIR
+ cd $TERMUX_PKG_SRCDIR
echo "ac_cv_func_getmntent=no" >> termux_configure.cache
echo "ac_cv_search_getmntent=false" >> termux_configure.cache
echo "ac_cv_func_getmntent=no" >> termux_configure.cache
echo "ac_cv_search_getmntent=false" >> termux_configure.cache
- chmod a-w termux_configure.cache
# prevent configure from changing
+ chmod a-w termux_configure.cache
}
}