]> git.pld-linux.org Git - packages/CUnit.git/blob - CUnit-FHS.patch
- fix string format build errors
[packages/CUnit.git] / CUnit-FHS.patch
1 diff -urNp -x '*.orig' CUnit-2.1-3.org/CUnit/Sources/Test/Makefile.am CUnit-2.1-3/CUnit/Sources/Test/Makefile.am
2 --- CUnit-2.1-3.org/CUnit/Sources/Test/Makefile.am      2023-07-23 15:06:33.863438862 +0200
3 +++ CUnit-2.1-3/CUnit/Sources/Test/Makefile.am  2023-07-23 15:06:33.980440529 +0200
4 @@ -2,7 +2,7 @@
5  
6  if ENABLE_TEST
7  AM_CPPFLAGS = -I$(top_srcdir)/CUnit/Headers
8 -testdir=${datadir}/@PACKAGE@/Test
9 +testdir=$(pkglibexecdir)/Test
10  
11  test_PROGRAMS = test_cunit
12  test_cunit_SOURCES = test_cunit.c
13 diff -urNp -x '*.orig' CUnit-2.1-3.org/Examples/AutomatedTest/Makefile.am CUnit-2.1-3/Examples/AutomatedTest/Makefile.am
14 --- CUnit-2.1-3.org/Examples/AutomatedTest/Makefile.am  2023-07-23 15:06:33.862438848 +0200
15 +++ CUnit-2.1-3/Examples/AutomatedTest/Makefile.am      2023-07-23 15:06:33.979440515 +0200
16 @@ -1,6 +1,6 @@
17  ## Process this file with automake to produce Makefile.in
18  
19 -exampledir=${datadir}/@PACKAGE@/Examples/Automated
20 +exampledir=$(pkglibexecdir)/Examples/Automated
21  
22  if ENABLE_EXAMPLES
23  if ENABLE_AUTOMATED
24 diff -urNp -x '*.orig' CUnit-2.1-3.org/Examples/BasicTest/Makefile.am CUnit-2.1-3/Examples/BasicTest/Makefile.am
25 --- CUnit-2.1-3.org/Examples/BasicTest/Makefile.am      2023-07-23 15:06:33.863438862 +0200
26 +++ CUnit-2.1-3/Examples/BasicTest/Makefile.am  2023-07-23 15:06:33.979440515 +0200
27 @@ -1,6 +1,6 @@
28  ## Process this file with automake to produce Makefile.in
29  
30 -exampledir=${datadir}/@PACKAGE@/Examples/Basic
31 +exampledir=$(pkglibexecdir)/Examples/Basic
32  
33  if ENABLE_EXAMPLES
34  if ENABLE_BASIC
35 diff -urNp -x '*.orig' CUnit-2.1-3.org/Examples/ConsoleTest/Makefile.am CUnit-2.1-3/Examples/ConsoleTest/Makefile.am
36 --- CUnit-2.1-3.org/Examples/ConsoleTest/Makefile.am    2023-07-23 15:06:33.863438862 +0200
37 +++ CUnit-2.1-3/Examples/ConsoleTest/Makefile.am        2023-07-23 15:06:33.979440515 +0200
38 @@ -1,6 +1,6 @@
39  ## Process this file with automake to produce Makefile.in
40  
41 -exampledir=${datadir}/@PACKAGE@/Examples/Console
42 +exampledir=$(pkglibexecdir)/Examples/Console
43  
44  if ENABLE_EXAMPLES
45  if ENABLE_CONSOLE
46 diff -urNp -x '*.orig' CUnit-2.1-3.org/Examples/CursesTest/Makefile.am CUnit-2.1-3/Examples/CursesTest/Makefile.am
47 --- CUnit-2.1-3.org/Examples/CursesTest/Makefile.am     2023-07-23 15:06:33.863438862 +0200
48 +++ CUnit-2.1-3/Examples/CursesTest/Makefile.am 2023-07-23 15:06:33.980440529 +0200
49 @@ -1,6 +1,6 @@
50  ## Process this file with automake to produce Makefile.in
51  
52 -exampledir=${datadir}/@PACKAGE@/Examples/Curses
53 +exampledir=$(pkglibexecdir)/Examples/Curses
54  
55  if ENABLE_EXAMPLES
56  if ENABLE_CURSES
57 diff -urNp -x '*.orig' CUnit-2.1-3.org/doc/Makefile.am CUnit-2.1-3/doc/Makefile.am
58 --- CUnit-2.1-3.org/doc/Makefile.am     2014-04-24 02:54:45.000000000 +0200
59 +++ CUnit-2.1-3/doc/Makefile.am 2023-07-23 15:06:33.979440515 +0200
60 @@ -1,8 +1,8 @@
61  ## Process this file with automake to produce Makefile.in
62  
63 -docdir = $(prefix)/doc/@PACKAGE@
64 +pkgdocdir = $(datarootdir)/doc/@PACKAGE@
65  
66 -doc_DATA = \
67 +pkgdoc_DATA = \
68         CUnit_doc.css \
69         error_handling.html \
70         fdl.html \
71 diff -urNp -x '*.orig' CUnit-2.1-3.org/doc/headers/Makefile.am CUnit-2.1-3/doc/headers/Makefile.am
72 --- CUnit-2.1-3.org/doc/headers/Makefile.am     2014-04-24 02:54:45.000000000 +0200
73 +++ CUnit-2.1-3/doc/headers/Makefile.am 2023-07-23 15:06:33.979440515 +0200
74 @@ -1,6 +1,6 @@
75  ## Process this file with automake to produce Makefile.in
76  
77 -dochdrdir = $(prefix)/doc/@PACKAGE@/headers
78 +dochdrdir = $(datarootdir)/doc/@PACKAGE@/headers
79  
80  INCLUDE_FILES = \
81         Automated.h \
This page took 0.11419 seconds and 3 git commands to generate.