File: link-libs.patch

package info (click to toggle)
steptalk 0.10.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 4,104 kB
  • ctags: 780
  • sloc: objc: 14,096; yacc: 394; makefile: 31; csh: 8; awk: 3; lisp: 3
file content (76 lines) | stat: -rw-r--r-- 2,761 bytes parent folder | download | duplicates (3)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
2010-06-07  Yavor Doganov  <yavor@gnu.org>

	Fix the GDL2 bundle to link with the correct libraries.
	* Modules/GDL2/GNUmakefile (GDL2_BUNDLE_LIBS): Define to
	`-lEOControl -lEOAccess'.

2009-12-13  Yavor Doganov  <yavor@gnu.org>

	Link with all necessary libraries.
	* Frameworks/StepTalk/GNUmakefile
	(StepTalk_LIBRARIES_DEPEND_UPON): Remove mingw conditional, add
	-lm.
	* Languages/Smalltalk/GNUmakefile (ADDITIONAL_BUNDLE_LIBS):
	* Modules/ObjectiveC/GNUmakefile (ADDITIONAL_BUNDLE_LIBS): Rename
	as...
	(BUNDLE_LIBS): ...to have effect.
	* Examples/Shell/GNUmakefile (ADDITIONAL_TOOL_LIBS): Remove
	-lncurses.

--- steptalk-0.10.0.orig/Frameworks/StepTalk/GNUmakefile
+++ steptalk-0.10.0/Frameworks/StepTalk/GNUmakefile
@@ -104,9 +104,7 @@
         -Declared StepTalk \
         -DocumentationDirectory ../../Documentation/Reference
 
-ifeq ($(GNUSTEP_TARGET_OS),mingw32)
-    StepTalk_LIBRARIES_DEPEND_UPON += -lgnustep-base -lobjc
-endif
+StepTalk_LIBRARIES_DEPEND_UPON += $(FND_LIBS) $(OBJC_LIBS) -lm
 
 ifeq ($(check),yes)
     ADDITIONAL_OBJCFLAGS += -Werror
--- steptalk-0.10.0.orig/Languages/Smalltalk/GNUmakefile
+++ steptalk-0.10.0/Languages/Smalltalk/GNUmakefile
@@ -59,7 +59,7 @@
         
 ADDITIONAL_INCLUDE_DIRS += -I../../Source/Headers
 
-ADDITIONAL_BUNDLE_LIBS = -lStepTalk
+BUNDLE_LIBS += -lStepTalk
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/
 ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
 
--- steptalk-0.10.0.orig/Modules/ObjectiveC/GNUmakefile
+++ steptalk-0.10.0/Modules/ObjectiveC/GNUmakefile
@@ -36,7 +36,7 @@
         
 ObjectiveC_RESOURCE_FILES = ScriptingInfo.plist
 
-ADDITIONAL_BUNDLE_LIBS = -lStepTalk
+BUNDLE_LIBS += -lStepTalk
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/
 ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
 
--- steptalk-0.10.0.orig/Examples/Shell/GNUmakefile
+++ steptalk-0.10.0/Examples/Shell/GNUmakefile
@@ -26,7 +26,7 @@
 
 stshell_OBJC_FILES = STShell.m STShell+output.m stshell_tool.m
 
-ADDITIONAL_TOOL_LIBS += -lStepTalk -lreadline -lncurses
+ADDITIONAL_TOOL_LIBS += -lStepTalk -lreadline
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks
 ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
 ADDITIONAL_OBJCFLAGS = -Wall -Wno-import
--- steptalk-0.10.0.orig/Modules/GDL2/GNUmakefile
+++ steptalk-0.10.0/Modules/GDL2/GNUmakefile
@@ -35,7 +35,7 @@
         
 GDL2_RESOURCE_FILES = ScriptingInfo.plist
 
-GDL2_BUNDLE_LIBS += -lgnustep-db2 -lgnustep-db2control -lgnustep-db2modeler
+GDL2_BUNDLE_LIBS += -lEOControl -lEOAccess
 
 ADDITIONAL_BUNDLE_LIBS = -lStepTalk
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/