Print this page
Other packages up to gcc51 runtime
| Split |
Close |
| Expand all |
| Collapse all |
--- old/build/unixodbc/build.sh
+++ new/build/unixodbc/build.sh
1 1 #!/usr/bin/bash
2 2 #
3 3 # CDDL HEADER START
4 4 #
5 5 # The contents of this file are subject to the terms of the
6 6 # Common Development and Distribution License, Version 1.0 only
7 7 # (the "License"). You may not use this file except in compliance
8 8 # with the License.
9 9 #
10 10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 11 # or http://www.opensolaris.org/os/licensing.
12 12 # See the License for the specific language governing permissions
13 13 # and limitations under the License.
14 14 #
15 15 # When distributing Covered Code, include this CDDL HEADER in each
16 16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 17 # If applicable, add the following below this CDDL HEADER, with the
18 18 # fields enclosed by brackets "[]" replaced with your own identifying
19 19 # information: Portions Copyright [yyyy] [name of copyright owner]
20 20 #
21 21 # CDDL HEADER END
22 22 #
23 23 #
24 24 # Copyright 2011-2012 OmniTI Computer Consulting, Inc. All rights reserved.
25 25 # Use is subject to license terms.
26 26 #
|
↓ open down ↓ |
26 lines elided |
↑ open up ↑ |
27 27 # Load support functions
28 28 . ../../lib/functions.sh
29 29
30 30 PROG=unixODBC
31 31 VER=2.3.2
32 32 VERHUMAN=$VER
33 33 PKG=library/unixodbc
34 34 SUMMARY="The UnixODBC Subsystem and SDK"
35 35 DESC="UnixODBC - The UnixODBC Subsystem and SDK ($VER)"
36 36
37 -DEPENDS_IPS="system/library system/library/math system/library/gcc-4-runtime"
37 +DEPENDS_IPS="system/library system/library/math system/library/gcc-5-runtime"
38 38
39 39 CONFIGURE_OPTS="
40 40 --includedir=$PREFIX/include/odbc
41 41 --localstatedir=/var
42 42 --sysconfdir=/etc/odbc
43 43 --enable-shared
44 44 --disable-static
45 45 --disable-libtool-lock
46 46 --disable-gui
47 47 --enable-threads
48 48 --disable-gnuthreads
49 49 --enable-readline
50 50 --enable-inicaching
51 51 --enable-drivers=yes
52 52 --enable-driver-conf=yes
53 53 --enable-fdb
54 54 --enable-odbctrace
55 55 --enable-iconv
56 56 --enable-stats
57 57 --enable-rtldgroup
58 58 --disable-ltdllib
59 59 --without-pth
60 60 --without-pth-test
61 61 --with-libiconv-prefix=$PREFIX
62 62 --disable-ltdl-install
63 63 --with-pic
64 64 "
65 65
66 66 save_function make_prog64 make_prog64_orig
67 67 save_function make_prog32 make_prog32_orig
68 68 make_prog64() {
69 69 logcmd perl -pi -e 's#(\$CC.*\$compiler_flags)#$1 -nostdlib#g;' libtool ||
70 70 logerr "libtool patch failed"
71 71 make_prog64_orig
72 72 }
73 73 make_prog32() {
74 74 logcmd perl -pi -e 's#(\$CC.*\$compiler_flags)#$1 -nostdlib#g;' libtool ||
75 75 logerr "libtool patch failed"
76 76 make_prog32_orig
77 77 }
78 78
79 79
80 80 init
81 81 download_source $PROG $PROG $VER
82 82 patch_source
83 83 prep_build
84 84 build
85 85 make_isa_stub
86 86 make_package
87 87 clean_up
88 88
89 89 # Vim hints
90 90 # vim:ts=4:sw=4:et:
|
↓ open down ↓ |
43 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX