File: example-obj-dir.diff

package info (click to toggle)
libgnatcoll-bindings 18-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 980 kB
  • sloc: ada: 6,581; ansic: 722; python: 687; makefile: 48; sh: 46
file content (19 lines) | stat: -rw-r--r-- 596 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: use obj/ instead of ../obj/ as object directory in gmp example
 Using the parent directory only makes sense in the source tree,
 and we want to install this example.
Forwarded: not-needed
Author: Nicolas Boulenguez <nicolas@debian.org>

--- a/gmp/examples/gmp_examples.gpr
+++ b/gmp/examples/gmp_examples.gpr
@@ -1,8 +1,8 @@
-with "gnatcoll-gmp";
+with "gnatcoll_gmp";
 
 project GMP_Examples is
    for Main use ("square_triangular_numbers.adb", "isprime.adb");
-   for Object_Dir use "../obj";
+   for Object_Dir use "obj";
    for Exec_Dir use ".";
 end GMP_Examples;