The unified diff between revisions [94371f06..] and [6633320d..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'debian/odbc.gpr'

#
#
# rename "debian/gnade.gpr"
#     to "debian/odbc.gpr"
#
# patch "debian/odbc.gpr"
#  from [82d69d8952b2fc3e7096eccff032616c2d14c5c9]
#    to [c4a107413ff2b80f20d63cb2f16fd04a8c6d50f2]
#
============================================================
--- debian/gnade.gpr	82d69d8952b2fc3e7096eccff032616c2d14c5c9
+++ debian/odbc.gpr	c4a107413ff2b80f20d63cb2f16fd04a8c6d50f2
@@ -1,6 +1,6 @@
 --  GNADE project file for use with GNAT
 --  Copyright (c) 2009 Stephen Leake <stephen_leake@stephe-leake.org>
---  Copyright (c) 2003-2006 Ludovic Brenta <lbrenta@debian.org>
+--  Copyright (c) 2003-2009 Ludovic Brenta <lbrenta@debian.org>
 --
 --  This program is free software; you can redistribute it and/or modify
 --  it under the terms of the GNU General Public License as published by
@@ -16,27 +16,18 @@
 --  GNADE, the GNU Ada Database Environment.  Here is an example of how
 --  to use this project file:
 --
---  with "gnade";
+--  with "odbc";
 --  project Example is
 --     for Object_Dir use "obj";
 --     for Exec_Dir use ".";
 --     for Main use ("example");
---     package Linker renames GNADE.Linker;
---     --  Alternatively, if you need additional switches:
---     --  package Linker is
---     --     for Default_Switches ("Ada") use ("-lgnadecommon", "-lgnadeodbc", ...)
---     --  end Linker;
 --  end Example;

-project GNADE is
-   for Source_Dirs use ("../../include/gnade");
-   for Library_Name use "gnade";
-   for Library_Dir use  "../../lib/gnade";
+project ODBC is
+   for Library_Name use "gnadeodbc";
+   for Library_Dir use  "/usr/lib";
+   for Library_Kind use "dynamic";
+   for Source_Dirs use ("/usr/share/ada/adainclude/gnade");
+   for Library_ALI_Dir use "/usr/lib/ada/adalib/gnade";
    for Externally_Built use "true";
-
-   --  By default, link only against libgnadeodbc, the thin binding to
-   --  ODBC.  You may also want to link against libgnadesqlite3.
-   package Linker is
-      for Default_Switches ("Ada") use ("-lgnadecommon", "-lgnadeodbc");
-   end Linker;
-end GNADE;
+end ODBC;