Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/opencascade/files: opencascade-6.3-missing-mode.patch env.ksh.template opencascade-6.3-fixed-DESTDIR.patch
Date: Thu, 03 Mar 2011 01:08:31
Message-Id: 20110303010820.F420020054@flycatcher.gentoo.org
1 dilfridge 11/03/03 01:08:20
2
3 Added: opencascade-6.3-missing-mode.patch env.ksh.template
4 opencascade-6.3-fixed-DESTDIR.patch
5 Log:
6 New library, bug 118656. Imported with cleanups from the sci overlay.
7
8 (Portage version: 2.1.9.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 sci-libs/opencascade/files/opencascade-6.3-missing-mode.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/opencascade/files/opencascade-6.3-missing-mode.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/opencascade/files/opencascade-6.3-missing-mode.patch?rev=1.1&content-type=text/plain
15
16 Index: opencascade-6.3-missing-mode.patch
17 ===================================================================
18 diff -aur OpenCASCADE6.3.0.old/ros/src/WOKUnix/WOKUnix_FDescr.cxx OpenCASCADE6.3.0/ros/src/WOKUnix/WOKUnix_FDescr.cxx
19 --- OpenCASCADE6.3.0.old/ros/src/WOKUnix/WOKUnix_FDescr.cxx 2009-02-15 14:00:22.000000000 +0100
20 +++ OpenCASCADE6.3.0/ros/src/WOKUnix/WOKUnix_FDescr.cxx 2009-02-15 14:08:50.000000000 +0100
21 @@ -202,7 +202,7 @@
22 if(mknod(apath.ToCString(), 0700 | S_IFIFO, 0))
23 { perror(apath.ToCString());}
24
25 - myFileChannel = open(apath.ToCString(), O_RDONLY | O_NDELAY | O_CREAT);
26 + myFileChannel = open(apath.ToCString(), O_RDONLY | O_NDELAY );
27 SetUnBuffered();
28
29 // write end of pipe is unbuffered also
30
31
32
33 1.1 sci-libs/opencascade/files/env.ksh.template
34
35 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/opencascade/files/env.ksh.template?rev=1.1&view=markup
36 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/opencascade/files/env.ksh.template?rev=1.1&content-type=text/plain
37
38 Index: env.ksh.template
39 ===================================================================
40 #!/bin/ksh -f
41
42 export CASROOT=VAR_CASROOT
43
44 if [ -z "PATH" ];
45 then PATH=VAR_CASROOT/Linux/bin;
46 else PATH=VAR_CASROOT/Linux/bin:$PATH;
47 fi
48 export PATH
49 if [ -z "LD_LIBRARY_PATH" ];
50 then LD_LIBRARY_PATH=VAR_CASROOT/Linux/lib;
51 else LD_LIBRARY_PATH=VAR_CASROOT/Linux/lib:$LD_LIBRARY_PATH;
52 fi
53 export LD_LIBRARY_PATH
54 export CSF_MDTVFontDirectory=VAR_CASROOT/src/FontMFT
55 export CSF_LANGUAGE=us
56 export MMGT_CLEAR=1
57 export CSF_EXCEPTION_PROMPT=1
58 export CSF_SHMessage=VAR_CASROOT/src/SHMessage
59 export CSF_MDTVTexturesDirectory=VAR_CASROOT/src/Textures
60 export CSF_XSMessage=VAR_CASROOT/src/XSMessage
61 export CSF_StandardDefaults=VAR_CASROOT/src/StdResource
62 export CSF_PluginDefaults=VAR_CASROOT/src/StdResource
63 export CSF_XCAFDefaults=VAR_CASROOT/src/StdResource
64 export CSF_StandardLiteDefaults=VAR_CASROOT/src/StdResource
65 export CSF_GraphicShr=VAR_CASROOT/Linux/lib/libTKOpenGl.so
66 export CSF_UnitsLexicon=VAR_CASROOT/src/UnitsAPI/Lexi_Expr.dat
67 export CSF_UnitsDefinition=VAR_CASROOT/src/UnitsAPI/Units.dat
68 export CSF_IGESDefaults=VAR_CASROOT/src/XSTEPResource
69 export CSF_STEPDefaults=VAR_CASROOT/src/XSTEPResource
70 export CSF_XmlOcafResource=VAR_CASROOT/src/XmlOcafResource
71
72 export TCLHOME=VAR_SYS_BIN
73 export TCLLIBPATH=VAR_SYS_LIB
74 export ITK_LIBRARY=VAR_SYS_LIB/VAR_ITK
75 export ITCL_LIBRARY=VAR_SYS_LIB/VAR_ITCL
76 export TIX_LIBRARY=VAR_SYS_LIB/VAR_TIX
77 export TK_LIBRARY=VAR_SYS_LIB/VAR_TK
78 export TCL_LIBRARY=VAR_SYS_LIB/VAR_TCL
79
80
81
82 1.1 sci-libs/opencascade/files/opencascade-6.3-fixed-DESTDIR.patch
83
84 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/opencascade/files/opencascade-6.3-fixed-DESTDIR.patch?rev=1.1&view=markup
85 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/opencascade/files/opencascade-6.3-fixed-DESTDIR.patch?rev=1.1&content-type=text/plain
86
87 Index: opencascade-6.3-fixed-DESTDIR.patch
88 ===================================================================
89 diff -urN OpenCASCADE6.3.0/ros/Makefile.am OpenCASCADE6.3.0.FixedInstall/ros/Makefile.am
90 --- OpenCASCADE6.3.0/ros/Makefile.am 2008-09-09 18:49:10.000000000 +0300
91 +++ OpenCASCADE6.3.0.FixedInstall/ros/Makefile.am 2009-02-20 15:01:08.000000000 +0200
92 @@ -108,126 +108,126 @@
93 dir_SunOS=sun
94
95 install-exec-local:
96 - $(INSTALL) -d $(prefix)/$(platform)
97 - if [ -e $(prefix)/bin -a ! -e $(prefix)/$(platform)/bin ]; then \
98 - cd $(prefix)/$(platform) && ln -s ../bin bin; \
99 + $(INSTALL) -d $(DESTDIR)$(prefix)/$(platform)
100 + if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(platform)/bin ]; then \
101 + cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../bin bin; \
102 fi
103 - if [ -e $(prefix)/lib -a ! -e $(prefix)/$(platform)/lib ]; then \
104 - cd $(prefix)/$(platform) && ln -s ../lib lib; \
105 + if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(platform)/lib ]; then \
106 + cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../lib lib; \
107 fi
108 - $(INSTALL) -d $(prefix)/$(dir_$(platform))
109 - if [ -e $(prefix)/bin -a ! -e $(prefix)/$(dir_$(platform))/bin ]; then \
110 - cd $(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \
111 + $(INSTALL) -d $(DESTDIR)$(prefix)/$(dir_$(platform))
112 + if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/bin ]; then \
113 + cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \
114 fi
115 - if [ -e $(prefix)/lib -a ! -e $(prefix)/$(dir_$(platform))/lib ]; then \
116 - cd $(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
117 + if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/lib ]; then \
118 + cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
119 fi
120 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
121 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
122 if [ "$$pd" != "$$sd" ]; then \
123 - $(INSTALL) -d $(prefix)/inc; \
124 - cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(prefix); \
125 + $(INSTALL) -d $(DESTDIR)$(prefix)/inc; \
126 + cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(DESTDIR)$(prefix); \
127 fi; \
128 if [ "$$pd" != "$$bd" ]; then \
129 - cp -fr$(CP_$(platform)) $$bd/config.h $(prefix); \
130 + cp -fr$(CP_$(platform)) $$bd/config.h $(DESTDIR)$(prefix); \
131 fi
132 - if [ -e $(prefix)/inc/config.h ]; then \
133 - unlink $(prefix)/inc/config.h; \
134 + if [ -e $(DESTDIR)$(prefix)/inc/config.h ]; then \
135 + unlink $(DESTDIR)$(prefix)/inc/config.h; \
136 fi
137 - cd $(prefix)/inc && ln -s ../config.h config.h
138 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
139 + cd $(DESTDIR)$(prefix)/inc && ln -s ../config.h config.h
140 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
141 if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \
142 - $(INSTALL) -d $(prefix)/src; \
143 - $(INSTALL) -d $(prefix)/src/UnitsAPI; \
144 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(prefix)/src; \
145 - cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(prefix); \
146 + $(INSTALL) -d $(DESTDIR)$(prefix)/src; \
147 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/UnitsAPI; \
148 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(DESTDIR)$(prefix)/src; \
149 + cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(DESTDIR)$(prefix); \
150 fi
151 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
152 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
153 if [ "$$pd" != "$$sd" ]; then \
154 inst_dirs="$(FoundationClasses_DIRS)"; \
155 if test "x$(FoundationClasses_DIRS)" != "x"; then \
156 for d in $$inst_dirs; do \
157 - $(INSTALL) -d $(prefix)/src/$$d; \
158 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
159 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
160 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
161 done; \
162 fi; \
163 fi
164 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
165 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
166 if [ "$$pd" != "$$sd" ]; then \
167 inst_dirs="$(ModelingData_DIRS)"; \
168 if test "x$(ModelingData_DIRS)" != "x"; then \
169 for d in $$inst_dirs; do \
170 - $(INSTALL) -d $(prefix)/src/$$d; \
171 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
172 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
173 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
174 done; \
175 fi; \
176 fi
177 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
178 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
179 if [ "$$pd" != "$$sd" ]; then \
180 inst_dirs="$(ModelingAlgorithms_DIRS)"; \
181 if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \
182 for d in $$inst_dirs; do \
183 - $(INSTALL) -d $(prefix)/src/$$d; \
184 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
185 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
186 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
187 done; \
188 fi; \
189 fi
190 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
191 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
192 if [ "$$pd" != "$$sd" ]; then \
193 inst_dirs="$(Visualization_DIRS)"; \
194 if test "x$(Visualization_DIRS)" != "x"; then \
195 for d in $$inst_dirs; do \
196 - $(INSTALL) -d $(prefix)/src/$$d; \
197 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
198 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
199 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
200 done; \
201 fi; \
202 fi
203 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
204 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
205 if [ "$$pd" != "$$sd" ]; then \
206 inst_dirs="$(ApplicationFramework_DIRS)"; \
207 if test "x$(ApplicationFramework_DIRS)" != "x"; then \
208 for d in $$inst_dirs; do \
209 - $(INSTALL) -d $(prefix)/src/$$d; \
210 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
211 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
212 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
213 done; \
214 fi; \
215 fi
216 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
217 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
218 if [ "$$pd" != "$$sd" ]; then \
219 inst_dirs="$(DataExchange_DIRS)"; \
220 if test "x$(DataExchange_DIRS)" != "x"; then \
221 for d in $$inst_dirs; do \
222 - $(INSTALL) -d $(prefix)/src/$$d; \
223 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
224 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
225 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
226 done; \
227 fi; \
228 fi
229 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
230 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
231 if [ "$$pd" != "$$sd" ]; then \
232 inst_dirs="$(Draw_DIRS)"; \
233 if test "x$(Draw_DIRS)" != "x"; then \
234 for d in $$inst_dirs; do \
235 - $(INSTALL) -d $(prefix)/src/$$d; \
236 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
237 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
238 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
239 done; \
240 fi; \
241 fi
242 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
243 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
244 if [ "$$pd" != "$$sd" ]; then \
245 inst_dirs="$(WOK_DIRS)"; \
246 if test "x$(WOK_DIRS)" != "x"; then \
247 for d in $$inst_dirs; do \
248 - $(INSTALL) -d $(prefix)/src/$$d; \
249 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
250 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
251 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
252 done; \
253 fi; \
254 fi
255 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
256 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
257 if [ "$$pd" != "$$sd" ]; then \
258 inst_dirs="$(Wrappers_DIRS)"; \
259 if test "x$(Wrappers_DIRS)" != "x"; then \
260 for d in $$inst_dirs; do \
261 - $(INSTALL) -d $(prefix)/src/$$d; \
262 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
263 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
264 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
265 done; \
266 fi; \
267 fi
268 diff -urN OpenCASCADE6.3.0/ros/Makefile.in OpenCASCADE6.3.0.FixedInstall/ros/Makefile.in
269 --- OpenCASCADE6.3.0/ros/Makefile.in 2008-09-09 18:52:16.000000000 +0300
270 +++ OpenCASCADE6.3.0.FixedInstall/ros/Makefile.in 2009-02-20 15:01:59.000000000 +0200
271 @@ -646,126 +646,126 @@
272 cd $(top_builddir)/adm/make && $(MAKE) $(AM_MAKEFLAGS) Wrappers
273
274 install-exec-local:
275 - $(INSTALL) -d $(prefix)/$(platform)
276 - if [ -e $(prefix)/bin -a ! -e $(prefix)/$(platform)/bin ]; then \
277 - cd $(prefix)/$(platform) && ln -s ../bin bin; \
278 + $(INSTALL) -d $(DESTDIR)$(prefix)/$(platform)
279 + if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(platform)/bin ]; then \
280 + cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../bin bin; \
281 fi
282 - if [ -e $(prefix)/lib -a ! -e $(prefix)/$(platform)/lib ]; then \
283 - cd $(prefix)/$(platform) && ln -s ../lib lib; \
284 + if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(platform)/lib ]; then \
285 + cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../lib lib; \
286 fi
287 - $(INSTALL) -d $(prefix)/$(dir_$(platform))
288 - if [ -e $(prefix)/bin -a ! -e $(prefix)/$(dir_$(platform))/bin ]; then \
289 - cd $(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \
290 + $(INSTALL) -d $(DESTDIR)$(prefix)/$(dir_$(platform))
291 + if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/bin ]; then \
292 + cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \
293 fi
294 - if [ -e $(prefix)/lib -a ! -e $(prefix)/$(dir_$(platform))/lib ]; then \
295 - cd $(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
296 + if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/lib ]; then \
297 + cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
298 fi
299 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
300 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
301 if [ "$$pd" != "$$sd" ]; then \
302 - $(INSTALL) -d $(prefix)/inc; \
303 - cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(prefix); \
304 + $(INSTALL) -d $(DESTDIR)$(prefix)/inc; \
305 + cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(DESTDIR)$(prefix); \
306 fi; \
307 if [ "$$pd" != "$$bd" ]; then \
308 - cp -fr$(CP_$(platform)) $$bd/config.h $(prefix); \
309 + cp -fr$(CP_$(platform)) $$bd/config.h $(DESTDIR)$(prefix); \
310 fi
311 - if [ -e $(prefix)/inc/config.h ]; then \
312 - unlink $(prefix)/inc/config.h; \
313 + if [ -e $(DESTDIR)$(prefix)/inc/config.h ]; then \
314 + unlink $(DESTDIR)$(prefix)/inc/config.h; \
315 fi
316 - cd $(prefix)/inc && ln -s ../config.h config.h
317 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
318 + cd $(DESTDIR)$(prefix)/inc && ln -s ../config.h config.h
319 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
320 if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \
321 - $(INSTALL) -d $(prefix)/src; \
322 - $(INSTALL) -d $(prefix)/src/UnitsAPI; \
323 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(prefix)/src; \
324 - cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(prefix); \
325 + $(INSTALL) -d $(DESTDIR)$(prefix)/src; \
326 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/UnitsAPI; \
327 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(DESTDIR)$(prefix)/src; \
328 + cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(DESTDIR)$(prefix); \
329 fi
330 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
331 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
332 if [ "$$pd" != "$$sd" ]; then \
333 inst_dirs="$(FoundationClasses_DIRS)"; \
334 if test "x$(FoundationClasses_DIRS)" != "x"; then \
335 for d in $$inst_dirs; do \
336 - $(INSTALL) -d $(prefix)/src/$$d; \
337 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
338 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
339 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
340 done; \
341 fi; \
342 fi
343 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
344 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
345 if [ "$$pd" != "$$sd" ]; then \
346 inst_dirs="$(ModelingData_DIRS)"; \
347 if test "x$(ModelingData_DIRS)" != "x"; then \
348 for d in $$inst_dirs; do \
349 - $(INSTALL) -d $(prefix)/src/$$d; \
350 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
351 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
352 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
353 done; \
354 fi; \
355 fi
356 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
357 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
358 if [ "$$pd" != "$$sd" ]; then \
359 inst_dirs="$(ModelingAlgorithms_DIRS)"; \
360 if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \
361 for d in $$inst_dirs; do \
362 - $(INSTALL) -d $(prefix)/src/$$d; \
363 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
364 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
365 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
366 done; \
367 fi; \
368 fi
369 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
370 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
371 if [ "$$pd" != "$$sd" ]; then \
372 inst_dirs="$(Visualization_DIRS)"; \
373 if test "x$(Visualization_DIRS)" != "x"; then \
374 for d in $$inst_dirs; do \
375 - $(INSTALL) -d $(prefix)/src/$$d; \
376 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
377 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
378 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
379 done; \
380 fi; \
381 fi
382 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
383 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
384 if [ "$$pd" != "$$sd" ]; then \
385 inst_dirs="$(ApplicationFramework_DIRS)"; \
386 if test "x$(ApplicationFramework_DIRS)" != "x"; then \
387 for d in $$inst_dirs; do \
388 - $(INSTALL) -d $(prefix)/src/$$d; \
389 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
390 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
391 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
392 done; \
393 fi; \
394 fi
395 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
396 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
397 if [ "$$pd" != "$$sd" ]; then \
398 inst_dirs="$(DataExchange_DIRS)"; \
399 if test "x$(DataExchange_DIRS)" != "x"; then \
400 for d in $$inst_dirs; do \
401 - $(INSTALL) -d $(prefix)/src/$$d; \
402 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
403 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
404 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
405 done; \
406 fi; \
407 fi
408 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
409 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
410 if [ "$$pd" != "$$sd" ]; then \
411 inst_dirs="$(Draw_DIRS)"; \
412 if test "x$(Draw_DIRS)" != "x"; then \
413 for d in $$inst_dirs; do \
414 - $(INSTALL) -d $(prefix)/src/$$d; \
415 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
416 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
417 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
418 done; \
419 fi; \
420 fi
421 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
422 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
423 if [ "$$pd" != "$$sd" ]; then \
424 inst_dirs="$(WOK_DIRS)"; \
425 if test "x$(WOK_DIRS)" != "x"; then \
426 for d in $$inst_dirs; do \
427 - $(INSTALL) -d $(prefix)/src/$$d; \
428 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
429 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
430 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
431 done; \
432 fi; \
433 fi
434 - bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
435 + bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
436 if [ "$$pd" != "$$sd" ]; then \
437 inst_dirs="$(Wrappers_DIRS)"; \
438 if test "x$(Wrappers_DIRS)" != "x"; then \
439 for d in $$inst_dirs; do \
440 - $(INSTALL) -d $(prefix)/src/$$d; \
441 - cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
442 + $(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
443 + cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
444 done; \
445 fi; \
446 fi