-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdb_version.patch
More file actions
42 lines (39 loc) · 1.38 KB
/
db_version.patch
File metadata and controls
42 lines (39 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- db-5.3.28/dist/s_config 2013-09-09 17:35:02.000000000 +0200
+++ db-5.3.28/dist/s_config 2026-05-18 01:32:49.384443145 +0200
@@ -1,26 +1,9 @@
#!/bin/sh -
-# $Id$
-#
-# Build the autoconfiguration files.
-
-trap 'rm -f aclocal.m4 ; exit 0' 0 1 2 3 13 15
. ./RELEASE
-echo "autoconf: building aclocal.m4..."
-cat aclocal/*.m4 aclocal_java/*.m4 > aclocal.m4
-
-echo "autoconf: running autoheader to build config.hin..."
-rm -f config.hin
-autoheader
-chmod 644 config.hin
-
-echo "autoconf: running autoconf to build configure"
-rm -f configure
-autoconf
-
# Edit version information we couldn't pre-compute.
-sed -e "s/__EDIT_DB_VERSION_FAMILY__/$DB_VERSION_FAMILY/g" \
+sed -i -e "s/__EDIT_DB_VERSION_FAMILY__/$DB_VERSION_FAMILY/g" \
-e "s/__EDIT_DB_VERSION_RELEASE__/$DB_VERSION_RELEASE/g" \
-e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \
-e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \
@@ -28,10 +11,5 @@
-e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \
-e "s/__EDIT_DB_VERSION_FULL_STRING__/$DB_VERSION_FULL_STRING/g" \
-e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \
- -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure > configure.version
-mv configure.version configure
-
-rm -rf autom4te.cache
-chmod 755 configure
+ -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure
-chmod 755 config.guess config.sub install-sh