summaryrefslogtreecommitdiff
path: root/debian/patches/01_remove_asg.patch
blob: a70ae535ca1d91c62db68eaed3e701b7063034be (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Description: Remove ASG from build
Author: Margarita Manterola <marga@debian.org>

--- xcircuit-3.8.78.dfsg.orig/Makefile.in
+++ xcircuit-3.8.78.dfsg/Makefile.in
@@ -849,7 +849,6 @@ install-tcl: xcircexec$(EXEEXT) lib/$(IN
 
 clean:
 	(cd ./Xw; $(RM) *.o *.a *.bak core)
-	(cd ./asg; $(MAKE) clean)
 	(cd ./spiceparser; $(MAKE) clean)
 	$(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
 	$(RM) lib/$(INTERP_PATH)/$(WRAPPER_INIT)
@@ -859,7 +858,6 @@ clean:
 
 distclean:
 	(cd ./Xw; $(RM) *.o *.a *.bak Makefile core)
-	(cd ./asg; $(MAKE) clean ; $(RM) Makefile)
 	(cd ./spiceparser; $(MAKE) clean ; $(RM) Makefile)
 	$(RM) xcircuit *.o *.bak core
 	$(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
@@ -879,7 +877,6 @@ dist:
 
 quiteclean:
 	(cd ./Xw; $(RM) *.o *.a *.bak Makefile.in Makefile core)
-	(cd ./asg; $(MAKE) clean ; $(RM) Makefile.in Makefile)
 	(cd ./spiceparser; $(MAKE) clean ; $(RM) Makefile.in Makefile)
 	$(RM) xcircuit *.o *.bak core
 	$(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
--- xcircuit-3.8.78.dfsg.orig/configure
+++ xcircuit-3.8.78.dfsg/configure
@@ -7208,8 +7208,8 @@ if test "${enable_asg+set}" = set; then
 
   $as_echo "#define CONFIGURED 1" >>confdefs.h
 
-  SUBDIRS="asg spiceparser"
-         SUBLIB="asg/libasg.a spiceparser/libspiceparser.a"
+  SUBDIRS="spiceparser"
+         SUBLIB="spiceparser/libspiceparser.a"
 
 fi
 
@@ -7571,7 +7571,7 @@ fi
 
 
 
-ac_config_files="$ac_config_files Makefile Xw/Makefile asg/Makefile spiceparser/Makefile"
+ac_config_files="$ac_config_files Makefile Xw/Makefile spiceparser/Makefile"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
@@ -8321,7 +8321,6 @@ do
     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "Xw/Makefile") CONFIG_FILES="$CONFIG_FILES Xw/Makefile" ;;
-    "asg/Makefile") CONFIG_FILES="$CONFIG_FILES asg/Makefile" ;;
     "spiceparser/Makefile") CONFIG_FILES="$CONFIG_FILES spiceparser/Makefile" ;;
 
   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;