Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 451406 | Differences between
and this patch

Collapse All | Expand All

(-)opencascade/ros/Makefile.am.ori (-43 / +43 lines)
Lines 86-191 Link Here
86
dir_SunOS=sun
86
dir_SunOS=sun
87
87
88
install-exec-local:
88
install-exec-local:
89
	$(INSTALL) -d $(prefix)/$(platform)
89
	$(INSTALL) -d $(DESTDIR)$(prefix)/$(platform)
90
	if [ -e $(prefix)/bin -a ! -e $(prefix)/$(platform)/bin ]; then \
90
	if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(platform)/bin ]; then \
91
		cd $(prefix)/$(platform) && ln -s ../bin bin; \
91
		cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../bin bin; \
92
	fi
92
	fi
93
	if [ -e $(prefix)/lib -a ! -e $(prefix)/$(platform)/lib ]; then \
93
	if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(platform)/lib ]; then \
94
		cd $(prefix)/$(platform) && ln -s ../lib lib; \
94
		cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../lib lib; \
95
	fi
95
	fi
96
	$(INSTALL) -d $(prefix)/$(dir_$(platform))
96
	$(INSTALL) -d $(DESTDIR)$(prefix)/$(dir_$(platform))
97
	if [ -e $(prefix)/bin -a ! -e $(prefix)/$(dir_$(platform))/bin ]; then \
97
	if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/bin ]; then \
98
		cd $(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \
98
		cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \
99
	fi
99
	fi
100
	if [ -e $(prefix)/lib -a ! -e $(prefix)/$(dir_$(platform))/lib ]; then \
100
	if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/lib ]; then \
101
		cd $(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
101
		cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
102
	fi
102
	fi
103
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
103
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
104
	if [ "$$pd" != "$$sd" ]; then \
104
	if [ "$$pd" != "$$sd" ]; then \
105
		$(INSTALL) -d $(prefix)/inc; \
105
		$(INSTALL) -d $(DESTDIR)$(prefix)/inc; \
106
		cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(prefix); \
106
		cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(DESTDIR)$(prefix); \
107
	fi; \
107
	fi; \
108
	if [ "$$pd" != "$$bd" ]; then \
108
	if [ "$$pd" != "$$bd" ]; then \
109
		cp -fr$(CP_$(platform)) $$bd/config.h $(prefix); \
109
		cp -fr$(CP_$(platform)) $$bd/config.h $(DESTDIR)$(prefix); \
110
	fi
110
	fi
111
	if [ -e $(prefix)/inc/config.h ]; then \
111
	if [ -e $(DESTDIR)$(prefix)/inc/config.h ]; then \
112
		unlink $(prefix)/inc/config.h; \
112
		unlink $(DESTDIR)$(prefix)/inc/config.h; \
113
	fi
113
	fi
114
	cd $(prefix)/inc && ln -s ../config.h config.h 
114
	cd $(DESTDIR)$(prefix)/inc && ln -s ../config.h config.h 
115
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
115
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
116
	if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \
116
	if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \
117
		$(INSTALL) -d $(prefix)/src; \
117
		$(INSTALL) -d $(DESTDIR)$(prefix)/src; \
118
		$(INSTALL) -d $(prefix)/src/UnitsAPI; \
118
		$(INSTALL) -d $(DESTDIR)$(prefix)/src/UnitsAPI; \
119
		cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(prefix)/src; \
119
		cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(DESTDIR)$(prefix)/src; \
120
		cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(prefix); \
120
		cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(DESTDIR)$(prefix); \
121
	fi
121
	fi
122
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
122
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
123
	if [ "$$pd" != "$$sd" ]; then \
123
	if [ "$$pd" != "$$sd" ]; then \
124
		inst_dirs="$(FoundationClasses_DIRS)"; \
124
		inst_dirs="$(FoundationClasses_DIRS)"; \
125
		if test "x$(FoundationClasses_DIRS)" != "x"; then \
125
		if test "x$(FoundationClasses_DIRS)" != "x"; then \
126
			for d in $$inst_dirs; do \
126
			for d in $$inst_dirs; do \
127
				$(INSTALL) -d $(prefix)/src/$$d; \
127
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
128
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
128
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
129
			done; \
129
			done; \
130
		fi; \
130
		fi; \
131
	fi
131
	fi
132
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
132
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
133
	if [ "$$pd" != "$$sd" ]; then \
133
	if [ "$$pd" != "$$sd" ]; then \
134
		inst_dirs="$(ModelingData_DIRS)"; \
134
		inst_dirs="$(ModelingData_DIRS)"; \
135
		if test "x$(ModelingData_DIRS)" != "x"; then \
135
		if test "x$(ModelingData_DIRS)" != "x"; then \
136
			for d in $$inst_dirs; do \
136
			for d in $$inst_dirs; do \
137
				$(INSTALL) -d $(prefix)/src/$$d; \
137
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
138
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
138
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
139
			done; \
139
			done; \
140
		fi; \
140
		fi; \
141
	fi
141
	fi
142
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
142
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
143
	if [ "$$pd" != "$$sd" ]; then \
143
	if [ "$$pd" != "$$sd" ]; then \
144
		inst_dirs="$(ModelingAlgorithms_DIRS)"; \
144
		inst_dirs="$(ModelingAlgorithms_DIRS)"; \
145
		if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \
145
		if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \
146
			for d in $$inst_dirs; do \
146
			for d in $$inst_dirs; do \
147
				$(INSTALL) -d $(prefix)/src/$$d; \
147
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
148
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
148
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
149
			done; \
149
			done; \
150
		fi; \
150
		fi; \
151
	fi
151
	fi
152
	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 \
153
	if [ "$$pd" != "$$sd" ]; then \
154
		inst_dirs="$(Visualization_DIRS)"; \
154
		inst_dirs="$(Visualization_DIRS)"; \
155
		if test "x$(Visualization_DIRS)" != "x"; then \
155
		if test "x$(Visualization_DIRS)" != "x"; then \
156
			for d in $$inst_dirs; do \
156
			for d in $$inst_dirs; do \
157
				$(INSTALL) -d $(prefix)/src/$$d; \
157
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
158
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
158
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
159
			done; \
159
			done; \
160
		fi; \
160
		fi; \
161
	fi
161
	fi
162
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
162
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
163
	if [ "$$pd" != "$$sd" ]; then \
163
	if [ "$$pd" != "$$sd" ]; then \
164
		inst_dirs="$(ApplicationFramework_DIRS)"; \
164
		inst_dirs="$(ApplicationFramework_DIRS)"; \
165
		if test "x$(ApplicationFramework_DIRS)" != "x"; then \
165
		if test "x$(ApplicationFramework_DIRS)" != "x"; then \
166
			for d in $$inst_dirs; do \
166
			for d in $$inst_dirs; do \
167
				$(INSTALL) -d $(prefix)/src/$$d; \
167
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
168
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
168
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
169
			done; \
169
			done; \
170
		fi; \
170
		fi; \
171
	fi
171
	fi
172
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
172
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
173
	if [ "$$pd" != "$$sd" ]; then \
173
	if [ "$$pd" != "$$sd" ]; then \
174
		inst_dirs="$(DataExchange_DIRS)"; \
174
		inst_dirs="$(DataExchange_DIRS)"; \
175
		if test "x$(DataExchange_DIRS)" != "x"; then \
175
		if test "x$(DataExchange_DIRS)" != "x"; then \
176
			for d in $$inst_dirs; do \
176
			for d in $$inst_dirs; do \
177
				$(INSTALL) -d $(prefix)/src/$$d; \
177
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
178
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
178
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
179
			done; \
179
			done; \
180
		fi; \
180
		fi; \
181
	fi
181
	fi
182
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
182
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
183
	if [ "$$pd" != "$$sd" ]; then \
183
	if [ "$$pd" != "$$sd" ]; then \
184
		inst_dirs="$(Draw_DIRS)"; \
184
		inst_dirs="$(Draw_DIRS)"; \
185
		if test "x$(Draw_DIRS)" != "x"; then \
185
		if test "x$(Draw_DIRS)" != "x"; then \
186
			for d in $$inst_dirs; do \
186
			for d in $$inst_dirs; do \
187
				$(INSTALL) -d $(prefix)/src/$$d; \
187
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
188
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
188
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
189
			done; \
189
			done; \
190
		fi; \
190
		fi; \
191
	fi
191
	fi
(-)opencascade/ros/configure.ac.ori (-2 / +2 lines)
Lines 422-428 Link Here
422
  HAVE_FTGL=yes
422
  HAVE_FTGL=yes
423
  HAVE_FTGL_INC=yes
423
  HAVE_FTGL_INC=yes
424
  CPPFLAGS="-I$ftgl/include $CPPFLAGS";
424
  CPPFLAGS="-I$ftgl/include $CPPFLAGS";
425
  AC_CHECK_HEADER( [FTGL/FTGL.h], [], [HAVE_FTGL_INC=no] )
425
  AC_CHECK_HEADER( [FTGL/ftgl.h], [], [HAVE_FTGL_INC=no] )
426
  if test "x$HAVE_FTGL_INC" = "xyes"; then
426
  if test "x$HAVE_FTGL_INC" = "xyes"; then
427
    CSF_FTGL_INCLUDES="-I$ftgl/include/FTGL"
427
    CSF_FTGL_INCLUDES="-I$ftgl/include/FTGL"
428
    HAVE_FTGL_LIB=yes
428
    HAVE_FTGL_LIB=yes
Lines 433-439 Link Here
433
    #we have problem with unresolved symbols on 64 stations
433
    #we have problem with unresolved symbols on 64 stations
434
    CSF_FTGL_LIB="-L$ftgl/lib -lftgl"
434
    CSF_FTGL_LIB="-L$ftgl/lib -lftgl"
435
    AC_TRY_LINK([
435
    AC_TRY_LINK([
436
#include <FTGL/FTGL.h>
436
#include <FTGL/ftgl.h>
437
#include <FTGL/FTGLTextureFont.h>
437
#include <FTGL/FTGLTextureFont.h>
438
], [
438
], [
439
FTGLTextureFont font("");], [
439
FTGLTextureFont font("");], [

Return to bug 451406