Compare commits
1 commit
cb75256439
...
bcf5cd845c
Author | SHA1 | Date | |
---|---|---|---|
|
bcf5cd845c |
4 changed files with 10 additions and 4 deletions
|
@ -35,8 +35,6 @@ mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
4
configure
vendored
4
configure
vendored
|
@ -118,7 +118,7 @@ libdir='${exec_prefix}/lib'
|
||||||
includedir='${prefix}/include'
|
includedir='${prefix}/include'
|
||||||
oldincludedir='/usr/include'
|
oldincludedir='/usr/include'
|
||||||
infodir='${prefix}/info'
|
infodir='${prefix}/info'
|
||||||
mandir='${prefix}/man'
|
mandir='${prefix}/share/man'
|
||||||
|
|
||||||
# Initialize some other variables.
|
# Initialize some other variables.
|
||||||
subdirs=
|
subdirs=
|
||||||
|
@ -235,7 +235,7 @@ Directory and file names:
|
||||||
--includedir=DIR C header files in DIR [PREFIX/include]
|
--includedir=DIR C header files in DIR [PREFIX/include]
|
||||||
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
|
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
|
||||||
--infodir=DIR info documentation in DIR [PREFIX/info]
|
--infodir=DIR info documentation in DIR [PREFIX/info]
|
||||||
--mandir=DIR man documentation in DIR [PREFIX/man]
|
--mandir=DIR man documentation in DIR [PREFIX/share/man]
|
||||||
--srcdir=DIR find the sources in DIR [configure dir or ..]
|
--srcdir=DIR find the sources in DIR [configure dir or ..]
|
||||||
--program-prefix=PREFIX prepend PREFIX to installed program names
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
||||||
--program-suffix=SUFFIX append SUFFIX to installed program names
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
* (c) 2002 Mikulas Patocka
|
* (c) 2002 Mikulas Patocka
|
||||||
* This file is a part of the Links program, released under GPL.
|
* This file is a part of the Links program, released under GPL.
|
||||||
*/
|
*/
|
||||||
|
#include <langinfo.h>
|
||||||
|
|
||||||
#include "links.h"
|
#include "links.h"
|
||||||
|
|
||||||
|
@ -130,6 +131,8 @@ int get_default_charset(void)
|
||||||
lang = cast_uchar getenv("LC_CTYPE");
|
lang = cast_uchar getenv("LC_CTYPE");
|
||||||
if (!lang)
|
if (!lang)
|
||||||
lang = cast_uchar getenv("LANG");
|
lang = cast_uchar getenv("LANG");
|
||||||
|
if (!lang)
|
||||||
|
lang = cast_uchar nl_langinfo(CODESET);
|
||||||
if (!lang) {
|
if (!lang) {
|
||||||
i = 0;
|
i = 0;
|
||||||
goto ret_i;
|
goto ret_i;
|
||||||
|
|
5
tix.port
Normal file
5
tix.port
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
NAME=links
|
||||||
|
BUILD_LIBRARIES='libssl libbrotli? libevent? liblzma? libz? libzstd? liblzip?'
|
||||||
|
BUILD_SYSTEM=configure
|
||||||
|
LOCATION_INDEPENDENT=true
|
||||||
|
LICENSE=GPL-2.0-or-later
|
Loading…
Reference in a new issue