20 #
21 # CDDL HEADER END
22 #
23 #
24 # Copyright 2011-2012 OmniTI Computer Consulting, Inc. All rights reserved.
25 # Use is subject to license terms.
26 #
27 # Load support functions
28 . ../../lib/functions.sh
29
30 CC=gcc
31 CXX=g++
32
33 PROG=Python
34 VER=2.6.8
35 PKG=runtime/python-26
36 SUMMARY="$PROG"
37 DESC="$SUMMARY"
38
39 BUILD_DEPENDS_IPS="developer/build/autoconf"
40 DEPENDS_IPS="system/library/gcc-4-runtime library/zlib library/libffi@$FFIVERS
41 library/readline database/sqlite-3 compress/bzip2 library/libxml2
42 library/ncurses library/security/openssl"
43
44 export CCSHARED="-fPIC"
45 CFLAGS="$CFLAGS -std=c99"
46 LDFLAGS32="-L/usr/gnu/lib -R/usr/gnu/lib"
47 LDFLAGS64="-L/usr/gnu/lib/amd64 -R/usr/gnu/lib/amd64"
48 CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses -D_LARGEFILE64_SOURCE"
49 CPPFLAGS32="-I/usr/lib/libffi-$FFIVERS/include"
50 CPPFLAGS64="-I/usr/lib/amd64/libffi-$FFIVERS/include"
51 CONFIGURE_OPTS="--enable-shared
52 --with-system-ffi
53 ac_cv_opt_olimit_ok=no
54 ac_cv_olimit_ok=no"
55
56 preprep_build() {
57 pushd $TMPDIR/$BUILDDIR > /dev/null || logerr "Cannot change to build directory"
58 /usr/bin/autoheader || logerr "autoheaer failed"
59 /usr/bin/autoconf || logerr "autoreconf failed"
60 popd > /dev/null
|
20 #
21 # CDDL HEADER END
22 #
23 #
24 # Copyright 2011-2012 OmniTI Computer Consulting, Inc. All rights reserved.
25 # Use is subject to license terms.
26 #
27 # Load support functions
28 . ../../lib/functions.sh
29
30 CC=gcc
31 CXX=g++
32
33 PROG=Python
34 VER=2.6.8
35 PKG=runtime/python-26
36 SUMMARY="$PROG"
37 DESC="$SUMMARY"
38
39 BUILD_DEPENDS_IPS="developer/build/autoconf"
40 DEPENDS_IPS="system/library/gcc-5-runtime library/zlib library/libffi@$FFIVERS
41 library/readline database/sqlite-3 compress/bzip2 library/libxml2
42 library/ncurses library/security/openssl"
43
44 export CCSHARED="-fPIC"
45 CFLAGS="$CFLAGS -std=c99"
46 LDFLAGS32="-L/usr/gnu/lib -R/usr/gnu/lib"
47 LDFLAGS64="-L/usr/gnu/lib/amd64 -R/usr/gnu/lib/amd64"
48 CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses -D_LARGEFILE64_SOURCE"
49 CPPFLAGS32="-I/usr/lib/libffi-$FFIVERS/include"
50 CPPFLAGS64="-I/usr/lib/amd64/libffi-$FFIVERS/include"
51 CONFIGURE_OPTS="--enable-shared
52 --with-system-ffi
53 ac_cv_opt_olimit_ok=no
54 ac_cv_olimit_ok=no"
55
56 preprep_build() {
57 pushd $TMPDIR/$BUILDDIR > /dev/null || logerr "Cannot change to build directory"
58 /usr/bin/autoheader || logerr "autoheaer failed"
59 /usr/bin/autoconf || logerr "autoreconf failed"
60 popd > /dev/null
|