1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Update to version 1.58

PR:		61252
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-01-12 14:18:22 +00:00
parent 07bbe7dc82
commit b18bc42b40
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98001
3 changed files with 20 additions and 18 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= scintilla
PORTVERSION= 1.57
PORTVERSION= 1.58
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.scintilla.org/

View File

@ -1 +1 @@
MD5 (scite157.tgz) = d8d18de553555437791996daed9ff7ec
MD5 (scite158.tgz) = 0f704b40f07aba44205621a19245847c

View File

@ -1,6 +1,6 @@
--- makefile.orig Sun Sep 21 11:19:30 2003
+++ makefile Tue Oct 7 10:52:28 2003
@@ -8,8 +8,8 @@
--- makefile.orig Wed Dec 24 08:45:12 2003
+++ makefile Sun Jan 11 19:50:44 2004
@@ -8,15 +8,16 @@
# To force GTK+ 1 build, define GTK1 on the make command line.
.SUFFIXES: .cxx .o .h .a
@ -10,8 +10,7 @@
+AR = $(CC) -shared
RANLIB = touch
ifeq ($(OSTYPE),darwin)
@@ -18,7 +18,8 @@
ifeq ($(shell uname),Darwin)
RANLIB = ranlib
endif
@ -21,12 +20,12 @@
vpath %.h ../src ../include
vpath %.cxx ../src
@@ -33,29 +34,29 @@
@@ -31,29 +32,29 @@
endif
ifdef DEBUG
-CXXFLAGS=-DDEBUG -g $(CXXBASEFLAGS) $(THREADFLAGS)
+CXXFLAGS+=-DDEBUG $(CXXBASEFLAGS) $(THREADFLAGS)
+CXXFLAGS+=-DDEBUG -g $(CXXBASEFLAGS) $(THREADFLAGS)
else
-CXXFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS) $(THREADFLAGS)
+CXXFLAGS+=-DNDEBUG $(CXXBASEFLAGS) $(THREADFLAGS)
@ -42,12 +41,12 @@
-CONFIGFLAGS=gtk-config --cflags
+CONFIGFLAGS=pkg-config --cflags gtk+ gthread
else
ifneq (,$(findstring /,$(shell whereis -b pkg-config)))
ifneq (,$(findstring /,$(shell whereis pkg-config)))
-CONFIGFLAGS=pkg-config --cflags gtk+-2.0
+CONFIGFLAGS=pkg-config --cflags gtk+-2.0 gthread-2.0
else
-CONFIGFLAGS=gtk-config --cflags
+CONFIGFLAGS=gtk-config --cflags gthread
+CONFIGFLAGS=gtk-config --cflags gtk+ gthread
endif
endif
endif
@ -58,24 +57,27 @@
#++Autogenerated -- run src/LexGen.py to regenerate
#**LEXOBJS=\\\n\(\*.o \)
@@ -69,7 +70,7 @@
@@ -66,7 +67,7 @@
LexYAML.o
#--Autogenerated -- end of automatically generated section
# The LEXOBJS have to be treated specially as the functions in them are not called from external code
-all: $(COMPLIB) $(LEXOBJS)
-all: $(COMPLIB)
+all: $(COMPLIB) $(LEXRLIB)
clean:
rm -f *.o $(COMPLIB)
@@ -81,8 +82,10 @@
@@ -77,10 +78,11 @@
$(COMPLIB): DocumentAccessor.o WindowAccessor.o KeyWords.o StyleContext.o Document.o CallTip.o \
ScintillaBase.o ContractionState.o Editor.o ExternalLexer.o PropSet.o PlatGTK.o \
KeyMap.o LineMarker.o ScintillaGTK.o CellBuffer.o ViewStyle.o \
RESearch.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o
- RESearch.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o \
- $(LEXOBJS)
- $(AR) rc $@ $^
- $(RANLIB) $@
+ RESearch.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o
+ $(AR) `$(CONFIGFLAGS:cflags=libs)` -o $@ $^
+
+ $(LEXRLIB): $(LEXOBJS)
+$(LEXRLIB): $(LEXOBJS)
+ $(AR) `$(CONFIGFLAGS:cflags=libs)` -o $@ $^
# Automatically generate header dependencies with "make deps"