[packages/adapter: 284/631] - disable get_epoch for now (anyone want to fix it?)
glen
glen at pld-linux.org
Mon Sep 12 19:58:15 CEST 2016
commit cccfa5530f26484de5669ee458547de68570b678
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Wed Feb 1 14:19:32 2006 +0000
- disable get_epoch for now (anyone want to fix it?)
Changed files:
adapter.awk -> 1.274
adapter.awk | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 77e55fd..1e91245 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1308,6 +1308,11 @@ function kill_preamble_macros()
function get_epoch(pkg, ver, epoch)
{
+ return
+# should parse the BR lines more adequately:
+# freetype = 2.0.0 -> correct
+# freetype = 2.1.9 -> with epoch 1, as epoch 1 was added in 2.1.7
+
shell = "grep -o '^" pkg ":[^:]\+' ../PLD-doc/BuildRequires.txt | awk '{print $NF}'";
shell | getline epoch;
return epoch;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list