aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt30/files/patch-af
blob: 552e44010c15521d8cf10342983ee22ea05e6013 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- configs/freebsd-g++-static.orig Wed Oct  4 12:55:09 2000
+++ configs/freebsd-g++-static  Sat Nov 18 20:02:46 2000
@@ -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_OPENGL = 
 # OpenGL
 SYSCONF_LFLAGS_OPENGL  = -L/usr/X11R6/lib
@@ -46,7 +46,7 @@
 SYSCONF_LIBS_THREAD    = 
 
 # Meta-object compiler
-SYSCONF_MOC        = $(QTDIR)/bin/moc
+SYSCONF_MOC        = $(QTDIR)/bin/moc2
 
 # UI compiler
 SYSCONF_UIC        = $(QTDIR)/bin/uic
@@ -77,8 +77,8 @@
 SYSCONF_LINK_LIB_STATIC    = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
                 $(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC) 
 # Compiling application source
-SYSCONF_CXXFLAGS   = -pipe -fno-exceptions -O2
-SYSCONF_CFLAGS     = -pipe -fno-exceptions -O2
+SYSCONF_CXXFLAGS   = -DQT_PREFIX=\"${PREFIX}\" -pipe -O -fno-exceptions
+SYSCONF_CFLAGS     = -DQT_PREFIX=\"${PREFIX}\" -pipe -O -fno-exceptions
 SYSCONF_LINK_LIB   = $(SYSCONF_LINK_LIB_STATIC)
 SYSCONF_LINK_TARGET    = $(SYSCONF_LINK_TARGET_STATIC)
 # Compiling library source