|
| 1 | +[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} |
| 11 | + |
| 12 | +[openssl] |
| 13 | +configure-command = ./Configure |
| 14 | +configure-options = linux-ppc64 --prefix=${:prefix} --shared --libdir=lib64 |
| 15 | + |
| 16 | +[libgcrypt] |
| 17 | +configure-options = ${options:configure-options} --with-gpg-error-prefix=${:prefix} --enable-static --libdir=${options:prefix}/lib64 |
| 18 | + |
| 19 | +[readline] |
| 20 | +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