diff options
author | Will Andrews <will@FreeBSD.org> | 2000-12-26 04:07:50 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-12-26 04:07:50 +0000 |
commit | 1ebd628ccba3695edcf777fe186ef9290b3db486 (patch) | |
tree | 737ae61590a03bb86b36fe156ce51545595755ee /x11-toolkits/qt30/files/patch-aa | |
parent | 681877fb30fc1ac2bc9002c8bf56ee0f93e913f6 (diff) |
Fix build for XFree86 4.0.2 users: use threads by default in QT even though
it doesn't really work (or so I've been told). This does not affect the
build for non-XFree86-4.0.2 users. Apologies for not getting this in
sooner.
Thanks to: Andrew <elitetek@flashcom.net> for loaning me access to a
fast machine with XFree86 4.0.2 to do my testing on, as
well as being the first one to contact me about this.
Notes
Notes:
svn path=/head/; revision=36357
Diffstat (limited to 'x11-toolkits/qt30/files/patch-aa')
-rw-r--r-- | x11-toolkits/qt30/files/patch-aa | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/x11-toolkits/qt30/files/patch-aa b/x11-toolkits/qt30/files/patch-aa index 3d4d707124a0..67443ca0c1d4 100644 --- a/x11-toolkits/qt30/files/patch-aa +++ b/x11-toolkits/qt30/files/patch-aa @@ -1,15 +1,24 @@ ---- configs/freebsd-g++-shared.orig Wed Oct 4 12:55:10 2000 -+++ configs/freebsd-g++-shared Sat Nov 18 20:02:27 2000 -@@ -22,7 +22,7 @@ +--- configs/freebsd-g++-shared Sun Dec 24 02:41:35 2000 ++++ configs/freebsd-g++-shared.new Sun Dec 24 02:42:49 2000 +@@ -6,7 +6,7 @@ + + # Compiling with support libraries + SYSCONF_CXXFLAGS_X11 = -I/usr/X11R6/include +-SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include ++SYSCONF_CXXFLAGS_QT= -I$(QTDIR)/include $(SYSCONF_CXXFLAGS_THREAD) + SYSCONF_CXXFLAGS_OPENGL = -I/usr/X11R6/include + + # Compiling YACC output +@@ -23,7 +23,7 @@ SYSCONF_LIBS_X11 = -lXext -lX11 -lm # Qt, Qt+OpenGL SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib -SYSCONF_LIBS_QT = -lqt$(QT_THREAD_SUFFIX) -+SYSCONF_LIBS_QT = -lqt2$(QT_THREAD_SUFFIX) ++SYSCONF_LIBS_QT = -lqt2$(QT_THREAD_SUFFIX) $(SYSCONF_LFLAGS_THREAD) SYSCONF_LIBS_QT_OPENGL = # OpenGL SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib -@@ -45,7 +45,7 @@ +@@ -46,7 +46,7 @@ SYSCONF_LIBS_THREAD = # Meta-object compiler @@ -18,7 +27,7 @@ # UI compiler SYSCONF_UIC = $(QTDIR)/bin/uic -@@ -56,16 +56,14 @@ +@@ -57,16 +57,14 @@ # - Usually needs to incorporate $(VER_MAJ), $(VER_MIN) and $(VER_PATCH) # SYSCONF_LINK_SHLIB = g++ @@ -38,7 +47,7 @@ # Linking static libraries # - Build the $(TARGET) library, eg. lib$(TARGET).a -@@ -76,8 +74,8 @@ +@@ -77,8 +75,8 @@ SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \ $(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC) # Compiling application source |