boo#1175813
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=116
This commit is contained in:
parent
ccaeeb2e1c
commit
0656553dfa
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 27 07:38:06 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Set libexecdir at build time for wrapper (boo#1175813)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 15 07:49:33 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
Mon Jun 15 07:49:33 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
2
man.spec
2
man.spec
@ -185,7 +185,7 @@ printer (using groff).
|
|||||||
done
|
done
|
||||||
patch --backup --suffix=.s10 ${FUZZ+"--fuzz=$FUZZ"} -p0 < %{SOURCE10}
|
patch --backup --suffix=.s10 ${FUZZ+"--fuzz=$FUZZ"} -p0 < %{SOURCE10}
|
||||||
gcc $CFLAGS -I gl/lib/ -I include/ --include config.h -D LOCALEDIR="\"%{_datarootdir}/locale\"" \
|
gcc $CFLAGS -I gl/lib/ -I include/ --include config.h -D LOCALEDIR="\"%{_datarootdir}/locale\"" \
|
||||||
-o wrapper %{SOURCE5} -L gl/lib/.libs/ -lgnu
|
-D LIBEXECDIR="\"%{_libexecdir}\"" -o wrapper %{SOURCE5} -L gl/lib/.libs/ -lgnu
|
||||||
|
|
||||||
%check
|
%check
|
||||||
if ! make check; then
|
if ! make check; then
|
||||||
|
@ -44,6 +44,9 @@
|
|||||||
|
|
||||||
#include "manconfig.h"
|
#include "manconfig.h"
|
||||||
|
|
||||||
|
#ifndef LIBEXECDIR
|
||||||
|
# define LIBEXECDIR "/usr/lib"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* this list is used to authenticate the program running.
|
/* this list is used to authenticate the program running.
|
||||||
* it is fixed at compile time to avoid a full class of
|
* it is fixed at compile time to avoid a full class of
|
||||||
@ -59,8 +62,8 @@ static struct {
|
|||||||
{ "_man", "src/man", "man" },
|
{ "_man", "src/man", "man" },
|
||||||
{ "_mandb", "src/mandb", "man" },
|
{ "_mandb", "src/mandb", "man" },
|
||||||
#endif
|
#endif
|
||||||
{ "man", "/usr/lib/man-db/man", "man" },
|
{ "man", LIBEXECDIR "/man-db/man", "man" },
|
||||||
{ "mandb", "/usr/lib/man-db/mandb", "man" },
|
{ "mandb", LIBEXECDIR "/man-db/mandb", "man" },
|
||||||
{ 0, 0, 0, }};
|
{ 0, 0, 0, }};
|
||||||
|
|
||||||
char *program_name;
|
char *program_name;
|
||||||
|
Loading…
Reference in New Issue
Block a user