openbsd-ports/x11/qt/patches/patch-configs_openbsd-g++-static

54 lines
1.8 KiB
Plaintext
Raw Normal View History

--- configs/openbsd-g++-static.orig Sat Jun 24 14:42:12 2000
+++ configs/openbsd-g++-static Sat Jun 24 14:49:55 2000
1999-03-06 21:25:55 -05:00
@@ -1,30 +1,30 @@
# Compiling
-SYSCONF_CXX = g++
1999-06-07 11:58:48 -04:00
+SYSCONF_CXX = $(SYS_CXX)
1999-03-06 21:25:55 -05:00
# Compiling with support libraries
-SYSCONF_CXXFLAGS_X11 = -I/usr/X11R6/include
+SYSCONF_CXXFLAGS_X11 = -I/usr/X11R6/include -I/usr/local/include
SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include
-SYSCONF_CXXFLAGS_OPENGL = -I/usr/X11R6/include
+SYSCONF_CXXFLAGS_OPENGL = -I/usr/local/include
1999-03-06 21:25:55 -05:00
# Compiline YACC output
SYSCONF_CXXFLAGS_YACC = -Wno-unused -Wno-parentheses
1999-03-06 21:25:55 -05:00
# Linking with support libraries
# X11
-SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib
+SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib -L/usr/local/lib
1999-03-06 21:25:55 -05:00
SYSCONF_LIBS_X11 = -lX11 -lXext
# Qt, Qt+OpenGL
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
SYSCONF_LIBS_QT = -lqt
SYSCONF_LIBS_QT_OPENGL = -lqgl
# OpenGL
-SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
+SYSCONF_LFLAGS_OPENGL = -L/usr/local/lib
1999-03-06 21:25:55 -05:00
SYSCONF_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
# Yacc
SYSCONF_LIBS_YACC =
# Linking applications
-SYSCONF_LINK = g++
1999-06-07 11:58:48 -04:00
+SYSCONF_LINK = $(SYS_CXX)
1999-03-06 21:25:55 -05:00
SYSCONF_LFLAGS =
SYSCONF_LIBS =
1999-05-16 00:50:25 -04:00
@@ -53,10 +53,10 @@
$(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC) ; \
1999-05-16 00:50:25 -04:00
ranlib $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC)
# Compiling application source
-SYSCONF_CXXFLAGS = -O2 -fno-strength-reduce
1999-06-07 11:58:48 -04:00
+SYSCONF_CXXFLAGS = $(SYS_CXXFLAGS) -fno-strength-reduce
1999-05-16 00:50:25 -04:00
# Compiling library source
-SYSCONF_CXXFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
1999-06-07 11:58:48 -04:00
+SYSCONF_CXXFLAGS_LIB = $(SYS_CXXFLAGS) -fno-strength-reduce -fPIC
1999-05-16 00:50:25 -04:00
# Compiling shared-object source
-SYSCONF_CXXFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
1999-06-07 11:58:48 -04:00
+SYSCONF_CXXFLAGS_SHOBJ = $(SYS_CXXFLAGS) -fno-strength-reduce -fPIC
1999-05-16 00:50:25 -04:00
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_STATIC)
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_STATIC)