author | pavel heimlich - Oracle - Prague Czech Republic <Pavel.Heimlich@Oracle.COM> |
Fri, 15 Jul 2011 10:35:25 +0200 | |
changeset 81 | 032e65211d65 |
parent 63 | c3844fcbdc56 |
child 82 | fae1f92a97c6 |
permissions | -rw-r--r-- |
32
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
1 |
# |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
2 |
# Macro definitions for Solaris packages |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
3 |
# |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
4 |
# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
5 |
# |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
6 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
7 |
%include prod.inc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
8 |
%include options.inc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
9 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
10 |
SUNW_Pkg_AllZones: false |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
11 |
SUNW_Pkg_Hollow: false |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
12 |
SUNW_Pkg_ThisZone: false |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
13 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
14 |
# Set to 1 if $CC includes "gcc" (gcc4, parfait-gcc, etc.), otherwise 0 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
15 |
%define cc_is_gcc %(basename "$CC" | grep -c gcc) |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
16 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
17 |
%define is_nevada %(test `uname -r` = 5.11 && echo 1 || echo 0) |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
18 |
%define is_s10 %(test `uname -r` = 5.10 && echo 1 || echo 0) |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
19 |
%define _patch_options --fuzz=0 --unified |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
20 |
|
63
c3844fcbdc56
enable building icu on Solaris 10
pavel heimlich - Oracle - Prague Czech Republic <Pavel.Heimlich@Oracle.COM>
parents:
50
diff
changeset
|
21 |
%if %{is_s10} |
c3844fcbdc56
enable building icu on Solaris 10
pavel heimlich - Oracle - Prague Czech Republic <Pavel.Heimlich@Oracle.COM>
parents:
50
diff
changeset
|
22 |
%else |
50 | 23 |
%define ipscompverdefault 0.5.11 |
24 |
IPS_Build_Version: 5.11 |
|
25 |
IPS_Vendor_Version: %{ipsvendorver} |
|
63
c3844fcbdc56
enable building icu on Solaris 10
pavel heimlich - Oracle - Prague Czech Republic <Pavel.Heimlich@Oracle.COM>
parents:
50
diff
changeset
|
26 |
%endif |
50 | 27 |
|
28 |
%define ipsclass_pref08 org.opensolaris.category.2008 |
|
29 |
%define ipsclass_sys_i18n %{ipsclass_pref08}:System/Internationalization |
|
30 |
%define ipsclass_gnome_doc %{ipsclass_pref08}:Desktop (GNOME)/Documentation |
|
31 |
||
32
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
32 |
SUNW_Category: %{default_category} |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
33 |
SUNW_HotLine: Please contact your local service provider |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
34 |
SUNW_MaxInst: 1000 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
35 |
SUNW_Rev: 110.0.4.%(date +%Y.%m.%d.%H.%M) |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
36 |
# no such file so this will break the build if the package |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
37 |
# does not specify a copyright file: |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
38 |
SUNW_Copyright: error-no-copyright |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
39 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
40 |
%define _libexecdir %{_prefix}/lib |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
41 |
%define _mandir %{_datadir}/man |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
42 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
43 |
# by default we don't build optimised versions |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
44 |
%define opt_sparcv9 0 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
45 |
%define opt_amd64 0 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
46 |
%define opt_sse2 0 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
47 |
# opt_arch64 means opt_sparcv9 or opt_amd64 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
48 |
%define opt_arch64 0 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
49 |
# can_isaexec gets redefined to 1 if multiple isas are built |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
50 |
%define can_isaexec 0 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
51 |
%ifarch sparc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
52 |
%define base_isa sparcv7 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
53 |
%define base_arch sparc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
54 |
%else |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
55 |
%define base_isa i86 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
56 |
%define base_arch i386 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
57 |
%endif |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
58 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
59 |
%if %option_with_gnu_iconv |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
60 |
%define arch_ldadd -Wl,-zignore -R/usr/gnu/lib -lgnuintl -lgnuiconv |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
61 |
%else |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
62 |
%define arch_ldadd |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
63 |
%endif |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
64 |
%define ldadd |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
65 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
66 |
%if %debug_build |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
67 |
%define _ldflags %arch_ldadd %ldadd ${EXTRA_LDFLAGS} |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
68 |
%else |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
69 |
%define _ldflags %arch_ldadd %ldadd -Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect ${EXTRA_LDFLAGS} |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
70 |
%endif |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
71 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
72 |
%define gcc_picflags -fPIC -DPIC |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
73 |
%define suncc_picflags -KPIC |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
74 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
75 |
# ifarch doesn't support checking for sse2 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
76 |
# this macros allows you to use %if %arch_sse2 instead |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
77 |
%define arch_sse2 %(isainfo -x | grep sse2 > /dev/null && echo 1 || echo 0) |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
78 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
79 |
# temporary, until all spec files are converted to the new multi-isa build |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
80 |
# technique |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
81 |
%ifarch amd64 sparcv9 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
82 |
%include arch64.inc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
83 |
%endif |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
84 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
85 |
%include base.inc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
86 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
87 |
%define _basedir /usr |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
88 |
%define _subdir |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
89 |
%define _prefix %{_basedir} |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
90 |
%define _sysconfdir /etc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
91 |
%define _localstatedir /var |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
92 |
%define _localedir %{_datadir}/locale |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
93 |
%define _pkg_config_path %{_libdir}/pkgconfig:%{_datadir}/pkgconfig |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
94 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
95 |
%define classification_prefix org.opensolaris.category.2008 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
96 |
|
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
97 |
# ChangeLog: |
50 | 98 |
# 2010-12-03 Takeshi Asano <[email protected]> |
99 |
# - add tags and definitions for IPS |
|
32
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
100 |
# 2010-06-04 Alan Coopersmith <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
101 |
# - Make cc_is_gcc work with names like gcc-4.3.3 and parfait-gcc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
102 |
# 2010-04-24 Dave Lin <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
103 |
# - Add macro ips_classification_prefix |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
104 |
# 2009-12-30 Halton Huo <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
105 |
# - Remove cc_is_ssxx macros since we use ss12 always |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
106 |
# 2008-10-29 Laszlo (Laca) Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
107 |
# - respect $CC when checking compiler version |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
108 |
# 2008-04-18 Laszlo (Laca) Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
109 |
# - set default copyright to "error-no-copyright" which is not the name |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
110 |
# of a file, so it will break the build if a package has no copyright file |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
111 |
# 2008-03-30 Laszlo (Laca) Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
112 |
# - define cc_is_ss11 and cc_is_ss12 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
113 |
# 2007-09-28 Laszlo (Laca) Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
114 |
# - copy arch_ldadd definition from base.inc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
115 |
# 2007-09-27 Laszlo (Laca) Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
116 |
# - move configurable build options to options.inc and include |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
117 |
# options.inc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
118 |
# 2007-04-05 Laszlo (Laca) Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
119 |
# - fix _ldflags so that it includes the architecture specific flags |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
120 |
# 2007-03-15 Laszlo (Laca) Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
121 |
# - move product specific tags and macros to prod.inc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
122 |
# - define can_isaexec, base_isa, base_arch |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
123 |
# - define arch_sse2 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
124 |
# - move 32-bit compiler flags to base.inc and include base.inc |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
125 |
# - move 64-bit compiler flags to arch64.inc and include it temporarily, |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
126 |
# but it will not be needed once all spec files that build 64-bit are |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
127 |
# rewritten to the new style |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
128 |
# 2007-01-28 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
129 |
# - define %is_s10 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
130 |
# 2006-12-06 Damien Carbery <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
131 |
# - Bump SUNW_ProdVers and default_pkg_version to 2.17.3. |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
132 |
# 2006-11-23 Damien Carbery <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
133 |
# - Bump SUNW_ProdVers and default_pkg_version to 2.17.1. |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
134 |
# 2006-11-03 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
135 |
# - define %gtk_doc_option, lets the user disable building gtk-docs |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
136 |
# using --without-gtk-doc; also added comments about usage |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
137 |
# 2006-10-03 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
138 |
# - define %_patch_options, this specifies extra options for gpatch when |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
139 |
# using pkgbuild 1.1.1 or later |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
140 |
# 2006-10-03 Damien Carbery <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
141 |
# - Bump SUNW_ProdVers and default_pkg_version to 2.16.1. |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
142 |
# 2006-09-18 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
143 |
# - define cxx_optflags64 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
144 |
# 2006-08-23 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
145 |
# - define _localstatedir |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
146 |
# 2006-06-02 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
147 |
# - add the date string back into REV |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
148 |
# 2005-11-28 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
149 |
# - add -z combreloc and -Bdirect to the LDFLAGS |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
150 |
# 2005-10-23 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
151 |
# - define debug_build (if --with-debug is used) and build_l10n |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
152 |
# (when --with-l10n is used) build_l10n will disable building |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
153 |
# the l10n packages but needs changes in the spec files to work; |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
154 |
# debug_build is already functional: replaces the optimisation flags |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
155 |
# with -g and disables stripping the binaries. (Yay!) |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
156 |
# 2005-10-14 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
157 |
# - define _ldflags |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
158 |
# 2005-09-19 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
159 |
# - add -xregs=no%frameptr (Sun CC) or -fomit-frame-pointers (gcc) |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
160 |
# flags to enable dtrace get stack traces |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
161 |
# 2005-09-17 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
162 |
# - define %picflags and add them to the gcc CFLAGS otherwise most things |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
163 |
# seem to break |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
164 |
# 2005-09-16 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
165 |
# - define cc_is_gcc and define gcc specific compiler flags |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
166 |
# 2005-09-15 Brian Cameron <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
167 |
# - Backout debug lines I accidently committed to this file. |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
168 |
# 2005-07-14 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
169 |
# - update product version to 2.10 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
170 |
# 2004-11-01 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
171 |
# - temporarily removed -O for amd64 to stop gtk-demo crashing |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
172 |
# 2004-10-13 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
173 |
# - defined _pkg_config_path64 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
174 |
# 2004-10-02 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
175 |
# - defined jds_version |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
176 |
# 2004-10-02 Joseph Townsend <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
177 |
# - Create 64bit libraries for Solaris |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
178 |
# 2004-08-12 Shirley Woo <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
179 |
# - Updated SUNW_Category for G2.6 packages to 2.6.0 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
180 |
# 2004-07-23 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
181 |
# - Changed default copyright notice to default-copyright.txt |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
182 |
# - Prefixed REV with 9.7.2 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
183 |
# 2004-06-26 Shirley Woo <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
184 |
# - Changed install location to /usr/... |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
185 |
# 2004-06-21 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
186 |
# - descrease C++ optimisation level to xO3 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
187 |
# - define _pkg_config_path |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
188 |
# 2004-05-03 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
189 |
# - define _basedir |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
190 |
# 2004-04-14 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
191 |
# - change CATEGORY to GNOME2,application,JDS3 |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
192 |
# 2004-02-28 Laszlo Peter <[email protected]> |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
193 |
# - add -mr and -xtrconst options, -xpentium on intel. |
b3cb3388af53
Make the JDS inc files officially part of the repository (so that it can be built standalone)
Pavel Heimlich<pavel.heimlich@oracle.com>
parents:
diff
changeset
|
194 |
# - define cxx_optflags for CC compilation |