b44cf5b8a4
GPRBuild needs to be built with GNAT sources, so it now depends on the new library lang/gnat_util. It installs two new programs: gprinstall and gprslave. This is the latest version published by Adacore.
22 lines
722 B
Ada
22 lines
722 B
Ada
$NetBSD: patch-src_gpr__version.adb,v 1.1 2014/04/30 16:28:09 marino Exp $
|
|
|
|
Always use the FSF version (Not sure why Build_Type is not modified instead)
|
|
|
|
--- src/gpr_version.adb.orig 2013-04-16 14:36:02.000000000 +0000
|
|
+++ src/gpr_version.adb
|
|
@@ -65,14 +65,7 @@ package body GPR_Version is
|
|
end if;
|
|
end loop Last_Loop;
|
|
|
|
- case Build_Type is
|
|
- when Gnatpro =>
|
|
- return "Pro " & Gpr_Version & " " & Date & Host;
|
|
- when GPL =>
|
|
- return "GPL " & Gpr_Version & " " & Date & Host;
|
|
- when FSF =>
|
|
- return Gpr_Version & " " & Date & Host;
|
|
- end case;
|
|
+ return Gpr_Version & " " & Date & Host;
|
|
end Gpr_Version_String;
|
|
|
|
end GPR_Version;
|