summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-10-08 17:34:08 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-10-08 17:34:08 +0000
commit600df92c426dbf8d50dde31b7a8e86f69ded4482 (patch)
tree75ba6286873a2ea0624518241ecc612699dc1020 /x11-toolkits
parentParameterize the target's byte ordering in the packing list. This (diff)
Fix pkg-config handling introduced in the last commit.
PR: 57706 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=90648
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/scintilla/files/patch-aa29
1 files changed, 14 insertions, 15 deletions
diff --git a/x11-toolkits/scintilla/files/patch-aa b/x11-toolkits/scintilla/files/patch-aa
index 24f549a32a64..4cff4045011c 100644
--- a/x11-toolkits/scintilla/files/patch-aa
+++ b/x11-toolkits/scintilla/files/patch-aa
@@ -1,5 +1,5 @@
---- makefile.orig Sun Sep 21 02:19:30 2003
-+++ makefile Mon Oct 6 18:02:43 2003
+--- makefile.orig Sun Sep 21 11:19:30 2003
++++ makefile Tue Oct 7 10:52:28 2003
@@ -8,8 +8,8 @@
# To force GTK+ 1 build, define GTK1 on the make command line.
@@ -21,7 +21,7 @@
vpath %.h ../src ../include
vpath %.cxx ../src
-@@ -33,29 +34,33 @@
+@@ -33,29 +34,29 @@
endif
ifdef DEBUG
@@ -35,20 +35,19 @@
# If explicit setting of GTK1 or GTK2 then use that else look for
# pkg-config which is an OK indication that GTK2 is available
ifdef GTK2
- CONFIGFLAGS=pkg-config --cflags gtk+-2.0
-+MORELIBS=pkg-config --libs gthread-2.0
+-CONFIGFLAGS=pkg-config --cflags gtk+-2.0
++CONFIGFLAGS=pkg-config --cflags gtk+-2.0 gthread-2.0
else
ifdef GTK1
-CONFIGFLAGS=gtk-config --cflags
-+CONFIGFLAGS=pkg-config --cflags gtk+
-+MORELIBS=pkg-config --libs gthread
++CONFIGFLAGS=pkg-config --cflags gtk+ gthread
else
ifneq (,$(findstring /,$(shell whereis -b pkg-config)))
- CONFIGFLAGS=pkg-config --cflags gtk+-2.0
-+MORELIBS=pkg-config --libs gthread-2.0
+-CONFIGFLAGS=pkg-config --cflags gtk+-2.0
++CONFIGFLAGS=pkg-config --cflags gtk+-2.0 gthread-2.0
else
- CONFIGFLAGS=gtk-config --cflags
-+MORELIBS=pkg-config --libs gthread
+-CONFIGFLAGS=gtk-config --cflags
++CONFIGFLAGS=gtk-config --cflags gthread
endif
endif
endif
@@ -59,7 +58,7 @@
#++Autogenerated -- run src/LexGen.py to regenerate
#**LEXOBJS=\\\n\(\*.o \)
-@@ -69,7 +74,7 @@
+@@ -69,7 +70,7 @@
# The LEXOBJS have to be treated specially as the functions in them are not called from external code
@@ -68,16 +67,16 @@
clean:
rm -f *.o $(COMPLIB)
-@@ -81,8 +86,10 @@
+@@ -81,8 +82,10 @@
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
- $(AR) rc $@ $^
- $(RANLIB) $@
-+ $(AR) `$(CONFIGFLAGS:cflags=libs)` `${MORELIBS}` -o $@ $^
++ $(AR) `$(CONFIGFLAGS:cflags=libs)` -o $@ $^
+
+ $(LEXRLIB): $(LEXOBJS)
-+ $(AR) `$(CONFIGFLAGS:cflags=libs)` `${MORELIBS}` -o $@ $^
++ $(AR) `$(CONFIGFLAGS:cflags=libs)` -o $@ $^
# Automatically generate header dependencies with "make deps"
include deps.mak