1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/boost/branches/boost-gcc/Makefile

Revision 17706, 17.1 KB (checked in by wahwah, 14 months ago)

boost/branches/boost-gcc: Only disable Python for 64-bits

  • Property svn:keywords set to Id
Line 
1# $Id$
2
3NAME = boost
4VERSION = 1.49.0
5CATEGORIES = lib
6GARTYPE = v2
7
8define BLURB
9  Boost was begun by members of the C++ standards committee Library Working
10  Group to provide free peer-reviewed portable libraries to the C++ community.
11  An additional objective is to establish "existing practice" and provide
12  reference implementations so that the Boost libraries are suitable for
13  eventual standardization. Indeed, the explicit intent is to propose many of
14  these libraries for inclusion in the C++ Standard Library. The Boost Graph
15  Library, formerly known as the Generic Graph Component Library (GGCL), is a
16  collection of graph algorithms and data structures created in the generic
17  programming style of the Standard Template Library (STL).
18endef
19
20DESCRIPTION = Free peer-reviewed portable C++ source libraries
21
22MASTER_SITES = $(SF_MIRROR)/$(NAME)/
23DISTVERSION = $(subst .,_,$(VERSION))
24DISTNAME = $(NAME)_$(DISTVERSION)
25DISTFILES  = $(DISTNAME).tar.bz2
26
27PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
28
29# If we wanted to build on 5.9, we'll need to build for sparcv8plus
30ISA_DEFAULT_sparc-5.9 = sparcv8plus
31
32# It takes an awful lot of time.
33NOGITPATCH = 1
34
35PATCHFILES += 0001-Don-t-try-to-use-fchmodat.patch
36
37prefix = /opt/csw/gxx
38
39# We define upstream file regex so we can be notifed of new upstream software release
40UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=7586
41UPSTREAM_USE_SF = 1
42
43GARCOMPILER = GNU
44TOOLSET = gcc
45COMPILER_SUFFIX_PKG = -gcc
46COMPILER_SUFFIX_CAT = _gcc
47
48PACKAGES += CSWboost$(COMPILER_SUFFIX_PKG)-dev
49SPKG_DESC_CSWboost$(COMPILER_SUFFIX_PKG)-dev = $(DESCRIPTION), development files
50PKGFILES_CSWboost$(COMPILER_SUFFIX_PKG)-dev = $(PKGFILES_DEVEL)
51
52LICENSE = LICENSE_1_0.txt
53
54BUILD_DEP_PKGS += CSWstar
55
56CONFIGURE_SCRIPTS = boost
57BUILD_SCRIPTS = boost
58INSTALL_SCRIPTS = bjam
59
60EXTRA_FLAGS = -std=c99
61EXTRA_LINKER_FLAGS = -R/opt/csw/lib/\\\$$ISALIST
62BUILD64 = 1
63
64BUILD_ARGS += toolset=$(TOOLSET)
65BUILD_ARGS += --prefix=$(DESTDIR)$(prefix)
66BUILD_ARGS += --libdir=$(DESTDIR)$(libdir)
67BUILD_ARGS += link=shared
68BUILD_ARGS += cflags='$(CFLAGS)'
69BUILD_ARGS += cxxflags='$(CXXFLAGS)'
70BUILD_ARGS += linkflags='$(LDFLAGS) $(LD_OPTIONS)'
71# Stop on the first error
72BUILD_ARGS += -q
73# Display commands as you run them, I want to know what you are doing there
74BUILD_ARGS += -d+2
75BUILD_ARGS += include='/opt/csw/gcc/include'
76BUILD_ARGS += --debug-building
77BUILD_ARGS += address-model=$(MEMORYMODEL)
78# We don't have 64-bit Python
79BUILD_ARGS_64 += --without-python
80BUILD_ARGS += $(BUILD_ARGS_$(MEMORYMODEL))
81
82BUILD_ARGS_sparcv8plus = instruction-set=v9
83BUILD_ARGS_sparcv9 = instruction-set=v9
84BUILD_ARGS += $(BUILD_ARGS_$(ISA))
85
86TEST_SCRIPTS =
87
88JAMDIR_sparc = solarissparc
89JAMDIR_i386 = solarisx86
90JAMDIR = $(JAMDIR_$(GARCH))
91
92# BUILD64 = 1
93
94# These can't be just passed from Make's PARALLELMFLAGS because of the -l flag.
95BJAM_PARALLELMFLAGS_current9s = -j 32
96BJAM_PARALLELMFLAGS_current9x = -j 5
97BJAM_PARALLELMFLAGS = $(BJAM_PARALLELMFLAGS_$(call modulation2host))
98
99
100PACKAGES += CSWlibboost-chrono1-49-0-gxx
101PKGFILES_CSWlibboost-chrono1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_chrono\.so\.1\.49\.0(\.\d+)*)
102SPKG_DESC_CSWlibboost-chrono1-49-0-gxx += $(DESCRIPTION), libboost_chrono.so.1.49.0
103
104PACKAGES += CSWlibboost-date-time1-49-0-gxx
105PKGFILES_CSWlibboost-date-time1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_date_time\.so\.1\.49\.0(\.\d+)*)
106SPKG_DESC_CSWlibboost-date-time1-49-0-gxx += $(DESCRIPTION), libboost_date_time.so.1.49.0
107
108PACKAGES += CSWlibboost-filesystem1-49-0-gxx
109PKGFILES_CSWlibboost-filesystem1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_filesystem\.so\.1\.49\.0(\.\d+)*)
110SPKG_DESC_CSWlibboost-filesystem1-49-0-gxx += $(DESCRIPTION), libboost_filesystem.so.1.49.0
111
112PACKAGES += CSWlibboost-graph1-49-0-gxx
113PKGFILES_CSWlibboost-graph1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_graph\.so\.1\.49\.0(\.\d+)*)
114SPKG_DESC_CSWlibboost-graph1-49-0-gxx += $(DESCRIPTION), libboost_graph.so.1.49.0
115
116PACKAGES += CSWlibboost-iostreams1-49-0-gxx
117PKGFILES_CSWlibboost-iostreams1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_iostreams\.so\.1\.49\.0(\.\d+)*)
118SPKG_DESC_CSWlibboost-iostreams1-49-0-gxx += $(DESCRIPTION), libboost_iostreams.so.1.49.0
119
120PACKAGES += CSWlibboost-math-c99-1-49-0-gxx
121PKGFILES_CSWlibboost-math-c99-1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_math_c99\.so\.1\.49\.0(\.\d+)*)
122SPKG_DESC_CSWlibboost-math-c99-1-49-0-gxx += $(DESCRIPTION), libboost_math_c99.so.1.49.0
123
124PACKAGES += CSWlibboost-math-c99f1-49-0-gxx
125PKGFILES_CSWlibboost-math-c99f1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_math_c99f\.so\.1\.49\.0(\.\d+)*)
126SPKG_DESC_CSWlibboost-math-c99f1-49-0-gxx += $(DESCRIPTION), libboost_math_c99f.so.1.49.0
127
128PACKAGES += CSWlibboost-math-c99l1-49-0-gxx
129PKGFILES_CSWlibboost-math-c99l1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_math_c99l\.so\.1\.49\.0(\.\d+)*)
130SPKG_DESC_CSWlibboost-math-c99l1-49-0-gxx += $(DESCRIPTION), libboost_math_c99l.so.1.49.0
131
132PACKAGES += CSWlibboost-math-tr1-1-49-0-gxx
133PKGFILES_CSWlibboost-math-tr1-1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_math_tr1\.so\.1\.49\.0(\.\d+)*)
134SPKG_DESC_CSWlibboost-math-tr1-1-49-0-gxx += $(DESCRIPTION), libboost_math_tr1.so.1.49.0
135
136PACKAGES += CSWlibboost-math-tr1f1-49-0-gxx
137PKGFILES_CSWlibboost-math-tr1f1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_math_tr1f\.so\.1\.49\.0(\.\d+)*)
138SPKG_DESC_CSWlibboost-math-tr1f1-49-0-gxx += $(DESCRIPTION), libboost_math_tr1f.so.1.49.0
139
140PACKAGES += CSWlibboost-math-tr1l1-49-0-gxx
141PKGFILES_CSWlibboost-math-tr1l1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_math_tr1l\.so\.1\.49\.0(\.\d+)*)
142SPKG_DESC_CSWlibboost-math-tr1l1-49-0-gxx += $(DESCRIPTION), libboost_math_tr1l.so.1.49.0
143
144PACKAGES += CSWlibboost-prexmon1-49-0-gxx
145PKGFILES_CSWlibboost-prexmon1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_prg_exec_monitor\.so\.1\.49\.0(\.\d+)*)
146SPKG_DESC_CSWlibboost-prexmon1-49-0-gxx += $(DESCRIPTION), libboost_prg_exec_monitor.so.1.49.0
147
148PACKAGES += CSWlibboost-prog-opts1-49-0-gxx
149PKGFILES_CSWlibboost-prog-opts1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_program_options\.so\.1\.49\.0(\.\d+)*)
150SPKG_DESC_CSWlibboost-prog-opts1-49-0-gxx += $(DESCRIPTION), libboost_program_options.so.1.49.0
151
152PACKAGES += CSWlibboost-random1-49-0-gxx
153PKGFILES_CSWlibboost-random1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_random\.so\.1\.49\.0(\.\d+)*)
154SPKG_DESC_CSWlibboost-random1-49-0-gxx += $(DESCRIPTION), libboost_random.so.1.49.0
155
156PACKAGES += CSWlibboost-regex1-49-0-gxx
157PKGFILES_CSWlibboost-regex1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_regex\.so\.1\.49\.0(\.\d+)*)
158SPKG_DESC_CSWlibboost-regex1-49-0-gxx += $(DESCRIPTION), libboost_regex.so.1.49.0
159
160PACKAGES += CSWlibboost-s13n1-49-0-gxx
161PKGFILES_CSWlibboost-s13n1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_serialization\.so\.1\.49\.0(\.\d+)*)
162SPKG_DESC_CSWlibboost-s13n1-49-0-gxx += $(DESCRIPTION), libboost_serialization.so.1.49.0
163
164PACKAGES += CSWlibboost-signals1-49-0-gxx
165PKGFILES_CSWlibboost-signals1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_signals\.so\.1\.49\.0(\.\d+)*)
166SPKG_DESC_CSWlibboost-signals1-49-0-gxx += $(DESCRIPTION), libboost_signals.so.1.49.0
167
168PACKAGES += CSWlibboost-system1-49-0-gxx
169PKGFILES_CSWlibboost-system1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_system\.so\.1\.49\.0(\.\d+)*)
170SPKG_DESC_CSWlibboost-system1-49-0-gxx += $(DESCRIPTION), libboost_system.so.1.49.0
171
172PACKAGES += CSWlibboost-thread1-49-0-gxx
173PKGFILES_CSWlibboost-thread1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_thread\.so\.1\.49\.0(\.\d+)*)
174SPKG_DESC_CSWlibboost-thread1-49-0-gxx += $(DESCRIPTION), libboost_thread.so.1.49.0
175
176PACKAGES += CSWlibboost-timer1-49-0-gxx
177PKGFILES_CSWlibboost-timer1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_timer\.so\.1\.49\.0(\.\d+)*)
178SPKG_DESC_CSWlibboost-timer1-49-0-gxx += $(DESCRIPTION), libboost_timer.so.1.49.0
179
180PACKAGES += CSWlibboost-ut-fwk1-49-0-gxx
181PKGFILES_CSWlibboost-ut-fwk1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_unit_test_framework\.so\.1\.49\.0(\.\d+)*)
182SPKG_DESC_CSWlibboost-ut-fwk1-49-0-gxx += $(DESCRIPTION), libboost_unit_test_framework.so.1.49.0
183
184PACKAGES += CSWlibboost-wave1-49-0-gxx
185PKGFILES_CSWlibboost-wave1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_wave\.so\.1\.49\.0(\.\d+)*)
186SPKG_DESC_CSWlibboost-wave1-49-0-gxx += $(DESCRIPTION), libboost_wave.so.1.49.0
187
188PACKAGES += CSWlibboost-ws13n1-49-0-gxx
189PKGFILES_CSWlibboost-ws13n1-49-0-gxx += $(call baseisadirs,$(libdir),libboost_wserialization\.so\.1\.49\.0(\.\d+)*)
190SPKG_DESC_CSWlibboost-ws13n1-49-0-gxx += $(DESCRIPTION), libboost_wserialization.so.1.49.0
191
192RUNTIME_DEP_PKGS_CSWlibboost-chrono1-49-0-gxx += CSWlibboost-system1-49-0-gxx
193RUNTIME_DEP_PKGS_CSWlibboost-chrono1-49-0-gxx += CSWlibgcc-s1
194RUNTIME_DEP_PKGS_CSWlibboost-chrono1-49-0-gxx += CSWlibstdc++6
195RUNTIME_DEP_PKGS_CSWlibboost-signals1-49-0-gxx += CSWlibgcc-s1
196RUNTIME_DEP_PKGS_CSWlibboost-signals1-49-0-gxx += CSWlibstdc++6
197RUNTIME_DEP_PKGS_CSWlibboost-date-time1-49-0-gxx += CSWlibgcc-s1
198RUNTIME_DEP_PKGS_CSWlibboost-date-time1-49-0-gxx += CSWlibstdc++6
199RUNTIME_DEP_PKGS_CSWlibboost-system1-49-0-gxx += CSWlibgcc-s1
200RUNTIME_DEP_PKGS_CSWlibboost-system1-49-0-gxx += CSWlibstdc++6
201RUNTIME_DEP_PKGS_CSWlibboost-math-tr1-1-49-0-gxx += CSWlibgcc-s1
202RUNTIME_DEP_PKGS_CSWlibboost-math-tr1-1-49-0-gxx += CSWlibstdc++6
203RUNTIME_DEP_PKGS_CSWlibboost-filesystem1-49-0-gxx += CSWlibboost-system1-49-0-gxx
204RUNTIME_DEP_PKGS_CSWlibboost-filesystem1-49-0-gxx += CSWlibgcc-s1
205RUNTIME_DEP_PKGS_CSWlibboost-filesystem1-49-0-gxx += CSWlibstdc++6
206RUNTIME_DEP_PKGS_CSWlibboost-graph1-49-0-gxx += CSWlibboost-regex1-49-0-gxx
207RUNTIME_DEP_PKGS_CSWlibboost-graph1-49-0-gxx += CSWlibicudata48
208RUNTIME_DEP_PKGS_CSWlibboost-graph1-49-0-gxx += CSWlibstdc++6
209RUNTIME_DEP_PKGS_CSWlibboost-graph1-49-0-gxx += CSWlibicuuc48
210RUNTIME_DEP_PKGS_CSWlibboost-graph1-49-0-gxx += CSWlibicui18n48
211RUNTIME_DEP_PKGS_CSWlibboost-graph1-49-0-gxx += CSWlibgcc-s1
212RUNTIME_DEP_PKGS_CSWlibboost-wave1-49-0-gxx += CSWlibboost-thread1-49-0-gxx
213RUNTIME_DEP_PKGS_CSWlibboost-wave1-49-0-gxx += CSWlibboost-system1-49-0-gxx
214RUNTIME_DEP_PKGS_CSWlibboost-wave1-49-0-gxx += CSWlibboost-date-time1-49-0-gxx
215RUNTIME_DEP_PKGS_CSWlibboost-wave1-49-0-gxx += CSWlibboost-filesystem1-49-0-gxx
216RUNTIME_DEP_PKGS_CSWlibboost-wave1-49-0-gxx += CSWlibstdc++6
217RUNTIME_DEP_PKGS_CSWlibboost-wave1-49-0-gxx += CSWlibgcc-s1
218RUNTIME_DEP_PKGS_CSWlibboost-math-tr1f1-49-0-gxx += CSWlibgcc-s1
219RUNTIME_DEP_PKGS_CSWlibboost-math-tr1f1-49-0-gxx += CSWlibstdc++6
220RUNTIME_DEP_PKGS_CSWlibboost-math-tr1l1-49-0-gxx += CSWlibgcc-s1
221RUNTIME_DEP_PKGS_CSWlibboost-math-tr1l1-49-0-gxx += CSWlibstdc++6
222RUNTIME_DEP_PKGS_CSWlibboost-ut-fwk1-49-0-gxx += CSWlibgcc-s1
223RUNTIME_DEP_PKGS_CSWlibboost-ut-fwk1-49-0-gxx += CSWlibstdc++6
224RUNTIME_DEP_PKGS_CSWlibboost-regex1-49-0-gxx += CSWlibicuuc48
225RUNTIME_DEP_PKGS_CSWlibboost-regex1-49-0-gxx += CSWlibicui18n48
226RUNTIME_DEP_PKGS_CSWlibboost-regex1-49-0-gxx += CSWlibstdc++6
227RUNTIME_DEP_PKGS_CSWlibboost-regex1-49-0-gxx += CSWlibgcc-s1
228RUNTIME_DEP_PKGS_CSWlibboost-regex1-49-0-gxx += CSWlibicudata48
229RUNTIME_DEP_PKGS_CSWlibboost-ws13n1-49-0-gxx += CSWlibgcc-s1
230RUNTIME_DEP_PKGS_CSWlibboost-ws13n1-49-0-gxx += CSWlibboost-s13n1-49-0-gxx
231RUNTIME_DEP_PKGS_CSWlibboost-ws13n1-49-0-gxx += CSWlibstdc++6
232RUNTIME_DEP_PKGS_CSWlibboost-s13n1-49-0-gxx += CSWlibgcc-s1
233RUNTIME_DEP_PKGS_CSWlibboost-s13n1-49-0-gxx += CSWlibstdc++6
234RUNTIME_DEP_PKGS_CSWlibboost-math-c99-1-49-0-gxx += CSWlibgcc-s1
235RUNTIME_DEP_PKGS_CSWlibboost-math-c99-1-49-0-gxx += CSWlibstdc++6
236RUNTIME_DEP_PKGS_CSWlibboost-math-c99f1-49-0-gxx += CSWlibgcc-s1
237RUNTIME_DEP_PKGS_CSWlibboost-math-c99f1-49-0-gxx += CSWlibstdc++6
238RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-prexmon1-49-0-gxx
239RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-filesystem1-49-0-gxx
240RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-math-tr1-1-49-0-gxx
241RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-math-c99l1-49-0-gxx
242RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-thread1-49-0-gxx
243RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-math-c99f1-49-0-gxx
244RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-iostreams1-49-0-gxx
245RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-signals1-49-0-gxx
246RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-wave1-49-0-gxx
247RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-system1-49-0-gxx
248RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-ut-fwk1-49-0-gxx
249RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-date-time1-49-0-gxx
250RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-math-c99-1-49-0-gxx
251RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-s13n1-49-0-gxx
252RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-regex1-49-0-gxx
253RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-ws13n1-49-0-gxx
254RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-prog-opts1-49-0-gxx
255RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-math-tr1l1-49-0-gxx
256RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-math-tr1f1-49-0-gxx
257RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-random1-49-0-gxx
258RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-timer1-49-0-gxx
259RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-chrono1-49-0-gxx
260RUNTIME_DEP_PKGS_CSWboost-gcc-dev += CSWlibboost-graph1-49-0-gxx
261RUNTIME_DEP_PKGS_CSWlibboost-prog-opts1-49-0-gxx += CSWlibgcc-s1
262RUNTIME_DEP_PKGS_CSWlibboost-prog-opts1-49-0-gxx += CSWlibstdc++6
263RUNTIME_DEP_PKGS_CSWlibboost-prexmon1-49-0-gxx += CSWlibgcc-s1
264RUNTIME_DEP_PKGS_CSWlibboost-prexmon1-49-0-gxx += CSWlibstdc++6
265RUNTIME_DEP_PKGS_CSWlibboost-iostreams1-49-0-gxx += CSWlibbz2-1-0
266RUNTIME_DEP_PKGS_CSWlibboost-iostreams1-49-0-gxx += CSWlibstdc++6
267RUNTIME_DEP_PKGS_CSWlibboost-iostreams1-49-0-gxx += CSWlibgcc-s1
268RUNTIME_DEP_PKGS_CSWlibboost-iostreams1-49-0-gxx += CSWlibz1
269RUNTIME_DEP_PKGS_CSWlibboost-timer1-49-0-gxx += CSWlibboost-system1-49-0-gxx
270RUNTIME_DEP_PKGS_CSWlibboost-timer1-49-0-gxx += CSWlibgcc-s1
271RUNTIME_DEP_PKGS_CSWlibboost-timer1-49-0-gxx += CSWlibstdc++6
272RUNTIME_DEP_PKGS_CSWlibboost-timer1-49-0-gxx += CSWlibboost-chrono1-49-0-gxx
273RUNTIME_DEP_PKGS_CSWlibboost-thread1-49-0-gxx += CSWlibgcc-s1
274RUNTIME_DEP_PKGS_CSWlibboost-thread1-49-0-gxx += CSWlibstdc++6
275RUNTIME_DEP_PKGS_CSWlibboost-random1-49-0-gxx += CSWlibgcc-s1
276RUNTIME_DEP_PKGS_CSWlibboost-random1-49-0-gxx += CSWlibstdc++6
277RUNTIME_DEP_PKGS_CSWlibboost-math-c99l1-49-0-gxx += CSWlibgcc-s1
278RUNTIME_DEP_PKGS_CSWlibboost-math-c99l1-49-0-gxx += CSWlibstdc++6
279
280# Overridees for bad-rpath-entry are needed because the Boost build system
281# apparently interpolates $ISALIST, leaving us with "/opt/csw/lib/"
282# with the slash at the end.
283CHECKPKG_OVERRIDES_CSWlibboost-chrono1-49-0-gxx += bad-rpath-entry
284CHECKPKG_OVERRIDES_CSWlibboost-date-time1-49-0-gxx += bad-rpath-entry
285CHECKPKG_OVERRIDES_CSWlibboost-filesystem1-49-0-gxx += bad-rpath-entry
286CHECKPKG_OVERRIDES_CSWlibboost-graph1-49-0-gxx += bad-rpath-entry
287CHECKPKG_OVERRIDES_CSWlibboost-iostreams1-49-0-gxx += bad-rpath-entry
288CHECKPKG_OVERRIDES_CSWlibboost-math-c99-1-49-0-gxx += bad-rpath-entry
289CHECKPKG_OVERRIDES_CSWlibboost-math-c99f1-49-0-gxx += bad-rpath-entry
290CHECKPKG_OVERRIDES_CSWlibboost-math-c99l1-49-0-gxx += bad-rpath-entry
291CHECKPKG_OVERRIDES_CSWlibboost-math-tr1-1-49-0-gxx += bad-rpath-entry
292CHECKPKG_OVERRIDES_CSWlibboost-math-tr1f1-49-0-gxx += bad-rpath-entry
293CHECKPKG_OVERRIDES_CSWlibboost-math-tr1l1-49-0-gxx += bad-rpath-entry
294CHECKPKG_OVERRIDES_CSWlibboost-prexmon1-49-0-gxx += bad-rpath-entry
295CHECKPKG_OVERRIDES_CSWlibboost-prog-opts1-49-0-gxx += bad-rpath-entry
296CHECKPKG_OVERRIDES_CSWlibboost-random1-49-0-gxx += bad-rpath-entry
297CHECKPKG_OVERRIDES_CSWlibboost-regex1-49-0-gxx += bad-rpath-entry
298CHECKPKG_OVERRIDES_CSWlibboost-s13n1-49-0-gxx += bad-rpath-entry
299CHECKPKG_OVERRIDES_CSWlibboost-signals1-49-0-gxx += bad-rpath-entry
300CHECKPKG_OVERRIDES_CSWlibboost-system1-49-0-gxx += bad-rpath-entry
301CHECKPKG_OVERRIDES_CSWlibboost-thread1-49-0-gxx += bad-rpath-entry
302CHECKPKG_OVERRIDES_CSWlibboost-timer1-49-0-gxx += bad-rpath-entry
303CHECKPKG_OVERRIDES_CSWlibboost-ut-fwk1-49-0-gxx += bad-rpath-entry
304CHECKPKG_OVERRIDES_CSWlibboost-wave1-49-0-gxx += bad-rpath-entry
305CHECKPKG_OVERRIDES_CSWlibboost-ws13n1-49-0-gxx += bad-rpath-entry
306
307# The shared-lib-pkgname-mismatch overrides are here, because some pkgnames
308# based on file names are too long and pkgmk can't handle them.
309CHECKPKG_OVERRIDES_CSWlibboost-s13n1-49-0-gxx += shared-lib-pkgname-mismatch
310CHECKPKG_OVERRIDES_CSWlibboost-ut-fwk1-49-0-gxx += shared-lib-pkgname-mismatch
311CHECKPKG_OVERRIDES_CSWlibboost-prog-opts1-49-0-gxx += shared-lib-pkgname-mismatch
312CHECKPKG_OVERRIDES_CSWlibboost-prexmon1-49-0-gxx += shared-lib-pkgname-mismatch
313CHECKPKG_OVERRIDES_CSWlibboost-ws13n1-49-0-gxx += shared-lib-pkgname-mismatch
314
315CHECKPKG_OVERRIDES_CSWboost-gcc-dev += file-with-bad-content|/usr/share|root/opt/csw/gxx/include/boost/locale/generator.hpp
316
317include gar/category.mk
318
319PYTHON_ROOT = $(prefix)
320PYTHON_VERSION = 2.6
321export PYTHON_ROOT PYTHON_VERSION
322
323# Boost is not extractable with SUNW tar nor GNU tar :-(
324tar-bz-extract-%:
325        @echo " ==> Extracting $(DOWNLOADDIR)/$*"
326        /opt/csw/bin/star -bz -x -C $(EXTRACTDIR) -f $(DOWNLOADDIR)/$*
327        @$(MAKECOOKIE)
328
329configure-boost:
330        ( cd $(WORKSRC) && \
331          ./bootstrap.sh $(TOOLSET))
332        # && \
333        #  mkdir -p $(DESTDIR)$(bindir) && \
334        #  cp bin.$(JAMDIR)/bjam $(DESTDIR)$(bindir) )
335        @$(MAKECOOKIE)
336
337build-boost:
338        cd $(WORKSRC) && \
339                ./b2 \
340                  -d+2 \
341                        $(BJAM_PARALLELMFLAGS) \
342                        $(BUILD_ARGS)
343        @$(MAKECOOKIE)
344
345install-bjam:
346        cd $(WORKSRC) && \
347                ./b2 \
348                        $(BJAM_PARALLELMFLAGS) \
349                        $(BUILD_ARGS) \
350                        install
351        @$(MAKECOOKIE)
Note: See TracBrowser for help on using the browser.