termux-packages/packages/man/configure.patch

50 lines
1.3 KiB
Diff
Raw Normal View History

2019-03-17 19:46:12 +01:00
diff -u -r ../mandoc-1.14.5/configure ./configure
--- ../mandoc-1.14.5/configure 2019-03-10 09:56:43.000000000 +0000
+++ ./configure 2019-03-17 11:00:40.653234300 +0000
@@ -35,16 +35,13 @@
2017-03-02 16:14:05 +01:00
SOURCEDIR=`dirname "$0"`
2016-07-17 01:26:07 +02:00
2017-08-18 21:05:24 +02:00
-MANPATH_BASE="/usr/share/man:/usr/X11R6/man"
2016-07-17 01:26:07 +02:00
-MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man"
2017-08-18 21:05:24 +02:00
+MANPATH_BASE="@TERMUX_PREFIX@/share/man"
2016-07-17 01:26:07 +02:00
+MANPATH_DEFAULT="@TERMUX_PREFIX@/share/man"
2019-03-17 19:46:12 +01:00
OSENUM=
2016-07-17 01:26:07 +02:00
OSNAME=
2017-03-02 16:14:05 +01:00
UTF8_LOCALE=
-CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -`
2018-08-11 19:37:08 +02:00
-CFLAGS=
2017-03-02 16:14:05 +01:00
LDADD=
2018-08-11 19:37:08 +02:00
-LDFLAGS=
LD_NANOSLEEP=
LD_OHASH=
LD_RECVMSG=
2019-03-17 19:46:12 +01:00
@@ -126,7 +123,7 @@
2017-03-02 16:14:05 +01:00
INSTALL_LIB=
INSTALL_MAN=
INSTALL_DATA=
-LN="ln -f"
+LN="ln -s -f"
# --- manual settings from configure.local -----------------------------
2016-07-17 01:26:07 +02:00
2019-03-17 19:46:12 +01:00
@@ -367,7 +364,7 @@
2017-03-02 16:14:05 +01:00
elif singletest nanosleep NANOSLEEP; then
:
elif runtest nanosleep NANOSLEEP "-lrt"; then
- LD_NANOSLEEP="-lrt"
+ LD_NANOSLEEP=""
fi
if [ "${HAVE_NANOSLEEP}" -eq 0 ]; then
echo "FATAL: nanosleep: no" 1>&2
2019-03-17 19:46:12 +01:00
@@ -452,7 +449,7 @@
2016-07-17 01:26:07 +02:00
[ ${HAVE_GETLINE} -eq 0 ] && echo "#include <stdio.h>"
echo
-echo "#define MAN_CONF_FILE \"/etc/${MANM_MANCONF}\""
+echo "#define MAN_CONF_FILE \"@TERMUX_PREFIX@/etc/${MANM_MANCONF}\""
2017-08-18 21:05:24 +02:00
echo "#define MANPATH_BASE \"${MANPATH_BASE}\""
2016-07-17 01:26:07 +02:00
echo "#define MANPATH_DEFAULT \"${MANPATH_DEFAULT}\""
2019-03-17 19:46:12 +01:00
echo "#define OSENUM ${OSENUM}"