File tree 5 files changed +16
-5
lines changed
5 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 70
70
71
71
if platform . is_aix?
72
72
pkg . build_requires "runtime-#{ settings [ :runtime_project ] } "
73
- pkg . build_requires "libedit"
73
+ if platform . name == 'aix-7.1-ppc'
74
+ pkg . build_requires "libedit"
75
+ else
76
+ pkg . build_requires "readline"
77
+ end
74
78
elsif platform . is_solaris?
75
79
pkg . build_requires "runtime-#{ settings [ :runtime_project ] } "
76
80
pkg . build_requires "libedit" if platform . name =~ /^solaris-10-sparc/
Original file line number Diff line number Diff line change 63
63
pkg . environment "PATH" , "/opt/freeware/bin:$(PATH):#{ settings [ :bindir ] } "
64
64
end
65
65
pkg . build_requires "runtime-#{ settings [ :runtime_project ] } "
66
+ if platform . name == 'aix-7.1-ppc'
67
+ pkg . build_requires 'libedit'
68
+ else
69
+ pkg . build_requires 'readline'
70
+ end
71
+
66
72
pkg . environment "LDFLAGS" , settings [ :ldflags ]
67
73
pkg . environment "CFLAGS" , "-I#{ settings [ :includedir ] } "
68
- pkg . build_requires 'libedit'
69
74
end
70
75
71
76
if platform . is_rpm? && !platform . is_aix?
Original file line number Diff line number Diff line change 5
5
pkg . mirror "#{ settings [ :buildsources_url ] } /#{ pkg . get_name } -#{ pkg . get_version } .tar.gz"
6
6
7
7
if platform . is_aix?
8
- pkg . environment "PATH" , "/opt/pl-build-tools/bin:$(PATH)"
8
+ raise "readline is not supported on older AIX" if platform . name == 'aix-7.1-ppc'
9
+
10
+ pkg . environment "PATH" , "/opt/freeware/bin:$(PATH)"
9
11
elsif platform . is_cross_compiled_linux?
10
12
pkg . environment "PATH" , "/opt/pl-build-tools/bin:$(PATH):#{ settings [ :bindir ] } "
11
13
pkg . environment "CFLAGS" , settings [ :cflags ]
Original file line number Diff line number Diff line change 48
48
end
49
49
50
50
# libedit is used instead of readline on these platforms
51
- if platform . is_solaris? || platform . is_aix?
51
+ if platform . is_solaris? || platform . name == 'aix-7.1-ppc'
52
52
proj . component 'libedit'
53
53
end
54
54
Original file line number Diff line number Diff line change 6
6
proj . setting :rubygem_hocon_version , '1.4.0'
7
7
8
8
# Solaris and AIX depend on libedit which breaks augeas compliation starting with 1.13.0
9
- if platform . is_solaris? || platform . is_aix?
9
+ if platform . is_solaris? || platform . name == 'aix-7.1-ppc'
10
10
proj . setting :augeas_version , '1.12.0'
11
11
else
12
12
proj . setting :augeas_version , '1.13.0'
You can’t perform that action at this time.
0 commit comments