diff options
author | sylvio <sylvio@FreeBSD.org> | 2010-06-02 22:05:46 +0800 |
---|---|---|
committer | sylvio <sylvio@FreeBSD.org> | 2010-06-02 22:05:46 +0800 |
commit | 939d1338bc07a818c1b83ec8cc073ae6f7bdc589 (patch) | |
tree | d0f1a06c2c7f33a60c09e59da4ed5b44eabdd6a1 /editors/scite | |
parent | 54f3ce9ff5f7e5c2eb75c3688e5b7c0e5b480925 (diff) | |
download | freebsd-ports-graphics-939d1338bc07a818c1b83ec8cc073ae6f7bdc589.tar.gz freebsd-ports-graphics-939d1338bc07a818c1b83ec8cc073ae6f7bdc589.tar.zst freebsd-ports-graphics-939d1338bc07a818c1b83ec8cc073ae6f7bdc589.zip |
- Update to 2.12
PR: ports/147299
Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Diffstat (limited to 'editors/scite')
-rw-r--r-- | editors/scite/Makefile | 6 | ||||
-rw-r--r-- | editors/scite/distinfo | 6 | ||||
-rw-r--r-- | editors/scite/files/patch-aa | 45 |
3 files changed, 34 insertions, 23 deletions
diff --git a/editors/scite/Makefile b/editors/scite/Makefile index 64fa11dd1b9..d3b8bad088c 100644 --- a/editors/scite/Makefile +++ b/editors/scite/Makefile @@ -6,7 +6,7 @@ # PORTNAME= scite -PORTVERSION= 2.11 +PORTVERSION= 2.12 CATEGORIES= editors gnome MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION} DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} @@ -27,8 +27,8 @@ MAKEFILE= makefile MAN1= scite.1 post-patch: - @${REINPLACE_CMD} -e 's|[(]CC[)]|(CXX)|g ; s|gcc|$$(CC)|g ; s| -Os||g' \ - ${WRKSRC}/makefile + @${REINPLACE_CMD} -e 's|[(]CC[)]|(CXX)|g ; s|[(]CCOMP[)]|(CC)|g ; \ + s| -Os||g' ${WRKSRC}/makefile .if defined(WITH_FULL_BUFFER_MENU) @${REINPLACE_CMD} -e 's|30, "/Buffers|props.GetInt("buffers") > 30 ? props.GetInt("buffers") - 10 : 30, "/Buffers|g' ${WRKSRC}/SciTEGTK.cxx .endif diff --git a/editors/scite/distinfo b/editors/scite/distinfo index cfcd70df1d2..76ab19d2468 100644 --- a/editors/scite/distinfo +++ b/editors/scite/distinfo @@ -1,3 +1,3 @@ -MD5 (scite211.tgz) = 129aad231c9618aaa2c2e41226db2327 -SHA256 (scite211.tgz) = bf0254e8eadbda1f32214a909b34c35bfb1f38f39551643c0445d92e224e34c8 -SIZE (scite211.tgz) = 1784014 +MD5 (scite212.tgz) = 8868c06c1cfb248abd92cb3956bb5ba1 +SHA256 (scite212.tgz) = e1da8da68a75237b6c0d25533c92192564fc9a0df4f1f44665f241991d49963b +SIZE (scite212.tgz) = 1930331 diff --git a/editors/scite/files/patch-aa b/editors/scite/files/patch-aa index 3c74e19dcdb..438e9e61de5 100644 --- a/editors/scite/files/patch-aa +++ b/editors/scite/files/patch-aa @@ -1,33 +1,44 @@ ---- makefile.orig 2010-03-13 20:41:15.000000000 -0500 -+++ makefile 2010-04-05 07:57:38.000000000 -0400 -@@ -5,7 +5,7 @@ +--- makefile.orig 2010-05-31 23:35:36.000000000 -0400 ++++ makefile 2010-06-01 18:35:04.000000000 -0400 +@@ -5,20 +5,20 @@ # GNU make does not like \r\n line endings so should be saved to CVS in binary form. .SUFFIXES: .cxx .o .h .a .c +-ifdef CLANG +-CC = clang +-CCOMP = clang +-else -CC = g++ +-CCOMP = gcc +-endif ++#ifdef CLANG ++#CC = clang ++#CCOMP = clang ++#else +#CC = g++ ++#CCOMP = gcc ++#endif AR = ar - # If explicit setting of GTK1 or GTK2 then use that else look for -@@ -26,7 +26,7 @@ + # For the Gnome desktop stuff to work, prefix must point to where Gnome thinks it is. CONFIGFLAGS:=$(shell pkg-config --cflags gtk+-2.0) CONFIGLIB:=$(shell pkg-config --libs gtk+-2.0 gthread-2.0) CONFIGTHREADS:= -gnomeprefix:=$(shell pkg-config --variable=prefix gtk+-2.0 2>/dev/null) +gnomeprefix:=$(PREFIX) - else - CONFIGFLAGS:=$(shell gtk-config --cflags) - CONFIGLIB:=$(shell gtk-config --libs) -@@ -76,12 +76,12 @@ + ifndef prefix + ifdef gnomeprefix + prefix=$(gnomeprefix) +@@ -61,12 +61,12 @@ INCLUDEDIRS=-I ../../scintilla/include -I ../src -I../lua/include $(LUA_CORE_OBJS): ../lua/src/*.c -- gcc $(INCLUDEDIRS) -DLUA_USE_POSIX $(CXXTFLAGS) -c ../lua/src/*.c -+ gcc $(CFLAGS) $(INCLUDEDIRS) -DLUA_USE_POSIX $(CXXTFLAGS) -c ../lua/src/*.c +- $(CCOMP) $(INCLUDEDIRS) -DLUA_USE_POSIX $(CXXTFLAGS) -c ../lua/src/*.c ++ $(CCOMP) $(CFLAGS) $(INCLUDEDIRS) -DLUA_USE_POSIX $(CXXTFLAGS) -c ../lua/src/*.c $(LUA_LIB_OBJS): ../lua/src/lib/*.c -- gcc $(INCLUDEDIRS) -DLUA_USE_POSIX $(CXXTFLAGS) -c ../lua/src/lib/*.c +- $(CCOMP) $(INCLUDEDIRS) -DLUA_USE_POSIX $(CXXTFLAGS) -c ../lua/src/lib/*.c -CXXFLAGS=$(CXXTFLAGS) -+ gcc $(CFLAGS) $(INCLUDEDIRS) -DLUA_USE_POSIX $(CXXTFLAGS) -c ../lua/src/lib/*.c ++ $(CCOMP) $(CFLAGS) $(INCLUDEDIRS) -DLUA_USE_POSIX $(CXXTFLAGS) -c ../lua/src/lib/*.c +CXXFLAGS+=$(CXXTFLAGS) else -CXXFLAGS=$(CXXTFLAGS) -DNO_LUA @@ -35,15 +46,15 @@ endif ifeq ($(shell uname), Darwin) -@@ -102,8 +102,9 @@ +@@ -87,8 +87,9 @@ $(PROG): SciTEGTK.o GUIGTK.o FilePath.o SciTEBase.o SciTEBuffers.o SciTEIO.o StringList.o Exporters.o \ PropSetFile.o MultiplexExtension.o DirectorExtension.o SciTEProps.o StyleWriter.o Utf8_16.o \ - JobQueue.o GTKMutex.o IFaceTable.o $(COMPLIB) $(LUA_OBJS) -- $(CC) `$(CONFIGTHREADS)` -rdynamic -Wl,--version-script lua.vers -DGTK $^ -o $@ $(CONFIGLIB) +- $(CC) `$(CONFIGTHREADS)` -rdynamic -Wl,--as-needed -Wl,--version-script lua.vers -DGTK $^ -o $@ $(CONFIGLIB) -lstdc++ + JobQueue.o GTKMutex.o IFaceTable.o $(LUA_OBJS) -+ $(CC) $(CONFIGLIB) -lscintilla -lscintilla_lexers \ -+ -rdynamic -Wl,--version-script lua.vers -DGTK $^ -o $@ ++ $(CC) $(CONFIGLIB) -lscintilla -lscintilla_lexers -lstdc++ \ ++ -rdynamic -Wl,--as-needed -Wl,--version-script lua.vers -DGTK $^ -o $@ # Automatically generate header dependencies with "make deps" include deps.mak |