Skip to content

Commit 1654b3b

Browse files
author
Arnon Yaari
committed
HPT-2159 fix for SUSE on ppc64
1 parent d72563b commit 1654b3b

1 file changed

Lines changed: 2 additions & 29 deletions

File tree

buildout-build-suse-ppc64.cfg

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,12 @@
11
[buildout]
2-
extends = buildout-build.cfg
3-
4-
[environment]
5-
CC = gcc -static-libgcc -fPIC
6-
LDFLAGS = -L${options:prefix}/lib64 -Wl,-rpath,\$$ORIGIN,-rpath,\$$ORIGIN/../lib64,-rpath-link,\$$ORIGIN,-rpath-link,\$$ORIGIN/../lib64
7-
SHARED_LDFLAGS = -L${options:prefix}/lib64 -Wl,-rpath,-rpath,\$$ORIGIN,\$$ORIGIN/../lib64,-rpath-link,\$$ORIGIN,-rpath-link,\$$ORIGIN/../lib64
8-
LIBPATH = -L${options:prefix}/lib64
9-
DYLD_LIBRARY_PATH = ${options:prefix}/lib64
10-
LD_LIBRARY_PATH = ${:DYLD_LIBRARY_PATH}
2+
extends = buildout-build-redhat-ppc64.cfg
113

124
[openssl]
13-
configure-command = ./Configure
5+
# we extend from redhat-ppc64 where --openssldir is set - we don't need that here
146
configure-options = linux-ppc64 --prefix=${:prefix} --shared --libdir=lib64
157

168
[libgcrypt]
179
configure-options = ${options:configure-options} --with-gpg-error-prefix=${:prefix} --enable-static --libdir=${options:prefix}/lib64
1810

1911
[readline]
2012
configure-options = --prefix=${options:prefix} --libdir=${options:prefix}/lib64
21-
22-
[cyrus-sasl]
23-
configure-options = --prefix=${options:prefix} --without-saslauthd --without-authdaemond --disable-java --disable-dependency-tracking --disable-rpath --disable-java --without-gdbm --without-dblib --disable-macos-framework --enable-static --libdir=${options:prefix}/lib64 --build=ppc
24-
patches = ${:patches-dir}/${:name}-${:version}-configure.patch
25-
${:patches-dir}/${:name}-${:version}-ltconfig.patch
26-
${:patches-dir}/${:name}-${:version}-digestmd5.patch
27-
${:patches-dir}/${:name}-${:version}-redhat-lib64.patch
28-
29-
[python]
30-
configure-options = --prefix=${options:prefix} --enable-shared --enable-ipv6 --with-dbmliborder=gdbm --with-gcc --with-system-ffi --libdir=${options:prefix}/lib64
31-
patches = ${:patches-dir}/${:name}-${:version}-sysconfig.py.patch
32-
${:patches-dir}/${:name}-${:version}-disutils-sysconfig.py.patch
33-
${:patches-dir}/${:name}-${:version}-pythonhome-pythonrun.c.patch
34-
${:patches-dir}/${:name}-${:version}-redhat-lib64.patch
35-
${:patches-dir}/${:name}-${:version}-linux-symlink.patch
36-
37-
[python-environment]
38-
CFLAGS = ${environment:CFLAGS} -I${options:prefix}/include/gnutls -I${options:prefix}/include/graphviz -I${options:prefix}/include/libexslt -I${options:prefix}/include/libxml2 -I${options:prefix}/include/libxslt -I${options:prefix}/include/ncurses -I${options:prefix}/include/openssl -I${options:prefix}/include/readline -I${options:prefix}/include/sasl -I${options:prefix}/lib64/libffi-${libffi:version}/include
39-
LDFLAGS = ${environment:LDFLAGS} -Wl,-rpath,\$$ORIGIN/../.. -L${options:prefix}/lib64/engines -L${options:prefix}/lib64/gettext -L${options:prefix}/lib64/graphviz -L${options:prefix}/lib64/libxslt-plugins -L${options:prefix}/lib64/pkgconfig -L${options:prefix}/lib64/python2.7 -L${options:prefix}/lib64/sasl2

0 commit comments

Comments
 (0)