Fix a linking problem on 9.0

Reported by:	pav
Approved by:	N. Qashat (maintainer)
This commit is contained in:
Brendan Fabeny 2011-09-27 20:06:58 +00:00
parent 47c379bf31
commit 7fbb65c620
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282514
2 changed files with 3 additions and 2 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= scite
PORTVERSION= 2.28
PORTREVISION= 1
CATEGORIES= editors gnome
MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}

View file

@ -1,5 +1,5 @@
--- makefile.orig 2011-07-31 22:49:29.000000000 -0400
+++ makefile 2011-09-06 22:02:21.000000000 -0400
+++ makefile 2011-09-27 05:23:10.000000000 -0400
@@ -5,13 +5,6 @@
# GNU make does not like \r\n line endings so should be saved to CVS in binary form.
@ -31,7 +31,7 @@
- $(CC) `$(CONFIGTHREADS)` -rdynamic -Wl,--as-needed -Wl,--version-script lua.vers -DGTK $^ -o $@ $(CONFIGLIB) $(LIBDL) -lstdc++
+ JobQueue.o GTKMutex.o IFaceTable.o $(LUA_OBJS)
+ $(CC) -DGTK $(CXXFLAGS) -rdynamic -Wl,--version-script lua.vers $(LDFLAGS) \
+ -o $@ $^ -Wl,--as-needed -lscintilla -lscintilla_lexers $(CONFIGLIB)
+ -o $@ $^ -lscintilla -lscintilla_lexers -Wl,--as-needed $(CONFIGLIB)
# Automatically generate header dependencies with "make deps"
include deps.mak