summaryrefslogtreecommitdiff
path: root/x11-toolkits/scintilla/files/patch-aa
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-11-27 13:38:24 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-11-27 13:38:24 +0000
commitbfa077b20e03f9ad1770d240c1a7045aa3398857 (patch)
tree8f78a737530a42abe49096e6988aa80eaa421e88 /x11-toolkits/scintilla/files/patch-aa
parentUpdate to 4.1.40 (diff)
Add scintilla - a full-featured free source code editing component for GTK+.
Notes
Notes: svn path=/head/; revision=35466
Diffstat (limited to 'x11-toolkits/scintilla/files/patch-aa')
-rw-r--r--x11-toolkits/scintilla/files/patch-aa43
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-toolkits/scintilla/files/patch-aa b/x11-toolkits/scintilla/files/patch-aa
new file mode 100644
index 000000000000..e5ffa1723a3a
--- /dev/null
+++ b/x11-toolkits/scintilla/files/patch-aa
@@ -0,0 +1,43 @@
+--- makefile 2000/11/27 09:54:21 1.1
++++ makefile 2000/11/27 12:51:45
+@@ -5,10 +5,11 @@
+ # GNU make does not like \r\n line endings so should be saved to CVS in binary form.
+
+ .SUFFIXES: .cxx .o .h .a
+-CC = g++
+-AR = ar
++CC = c++
++AR = $(CC) -shared
+
+-COMPLIB=../bin/scintilla.a
++COMPLIB=../bin/libscintilla.so.1
++LEXRLIB=../bin/libscintilla_lexers.so.1
+
+ vpath %.h ../src ../include
+ vpath %.cxx ../src
+@@ -25,19 +26,22 @@
+ endif
+
+ .cxx.o:
+- $(CC) `gtk-config --cflags` $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
++ $(CC) -DPIC -fPIC -fpic `$(GTK_CONFIG) --cflags` $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
+
+ LEXOBJS = LexCPP.o LexHTML.o LexLua.o LexOthers.o LexPerl.o LexPython.o LexSQL.o LexVB.o LexConf.o
+
+ # The LEXOBJS have to be treated specially as the functions in them are not called from external code
+
+-all: $(COMPLIB) $(LEXOBJS)
++all: $(COMPLIB) $(LEXRLIB)
+
+ $(COMPLIB): DocumentAccessor.o WindowAccessor.o KeyWords.o Document.o CallTip.o \
+ ScintillaBase.o ContractionState.o Editor.o PropSet.o PlatGTK.o \
+ KeyMap.o LineMarker.o ScintillaGTK.o CellBuffer.o ViewStyle.o \
+ Style.o Indicator.o AutoComplete.o
+- $(AR) rc $@ $^
++ $(AR) -o $@ $^
++
++$(LEXRLIB): $(LEXOBJS)
++ $(AR) -o $@ $^
+
+ AutoComplete.o: AutoComplete.cxx Platform.h AutoComplete.h
+ CallTip.o: CallTip.cxx Platform.h CallTip.h