Package: lcgdm / 1.10.0-2

lcgdm-imake.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff -ur lcgdm-1.8.6.orig/Imakefile lcgdm-1.8.6/Imakefile
--- lcgdm-1.8.6.orig/Imakefile	2012-12-14 14:38:59.000000000 +0100
+++ lcgdm-1.8.6/Imakefile	2013-04-20 09:37:25.262182790 +0200
@@ -112,10 +112,9 @@
 	(cd test; $(MAKE) all)
 
 Makefiles:
-	@. ./setosflags ;\
 	for i in $(SUBDIRS) test ;\
 	do (echo " $$i:" ; cd $$i ;\
-		imake -I../config -DOSMajorVersion="$$OSMAJNO" -DOSMinorVersion="$$OSMINNO" ;\
+		imake -Ui386 -I../config ;\
 		$(MAKE) $(MFLAGS) $@ \
 	) ; done ;
 
diff -ur lcgdm-1.8.6.orig/Makefile.ini lcgdm-1.8.6/Makefile.ini
--- lcgdm-1.8.6.orig/Makefile.ini	2012-12-14 14:38:59.000000000 +0100
+++ lcgdm-1.8.6/Makefile.ini	2013-04-20 09:36:21.390183360 +0200
@@ -15,6 +15,5 @@
 test: Makefiles
 	(cd test; $(MAKE) all)
 Makefiles:
-	@. ./setosflags ;\
 	imake -Ui386 -Iconfig ;\
 	$(MAKE) $@
diff -ur lcgdm-1.8.6.orig/test/Imakefile lcgdm-1.8.6/test/Imakefile
--- lcgdm-1.8.6.orig/test/Imakefile	2012-12-14 14:38:52.000000000 +0100
+++ lcgdm-1.8.6/test/Imakefile	2013-04-20 09:35:38.430181490 +0200
@@ -27,12 +27,11 @@
 	@echo Not supported on this platform
 #else
 Makefiles:
-	@. ../setosflags ;\
 	for i in $(SUBDIRS) ;\
 	do (if [ -d $$i ] ;\
 	    then \
 	      (echo " $$i:" ; cd $$i ;\
-	      imake -I../../config -DOSMajorVersion="$$OSMAJNO" -DOSMinorVersion="$$OSMINNO" ;\
+	      imake -Ui386 -I../../config ;\
 	      $(MAKE) $(MFLAGS) $@) ;\
 	    else \
 	      (echo "ERROR : No directory $$i" ;\