use EGCS to compile this port
This commit is contained in:
parent
c03c134a34
commit
d8ad8624cd
@ -1,25 +1,21 @@
|
||||
# $OpenBSD: Makefile,v 1.20 1999/05/28 18:10:19 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 1999/06/07 15:58:48 brad Exp $
|
||||
# $FreeBSD: Makefile,v 1.33 1999/02/27 03:09:57 andreas Exp $
|
||||
|
||||
DISTNAME= qt-1.44
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= ftp://ftp.troll.no/qt/source/
|
||||
|
||||
NEED_VERSION= 1.64
|
||||
NEED_VERSION= 1.96
|
||||
|
||||
MAINTAINER= brad@openbsd.org
|
||||
|
||||
LIB_DEPENDS= MesaGL.3.0:${PORTSDIR}/graphics/MesaGL \
|
||||
MesaGLU.3.0:${PORTSDIR}/graphics/MesaGL
|
||||
|
||||
# Internal Compiler errors
|
||||
.if ${MACHINE_ARCH} == "sparc"
|
||||
PATCH_LIST= patch-* sup-sparc
|
||||
.endif
|
||||
|
||||
USE_EGXX= yes
|
||||
USE_GMAKE= yes
|
||||
USE_X11= yes
|
||||
MAKE_ENV+= QTDIR=${WRKSRC} CX="${CXX}" CXFLAGS="${CXXFLAGS}"
|
||||
MAKE_ENV+= QTDIR=${WRKSRC} SYS_CXX="${CXX}" SYS_CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
EXAMPLES=aclock application biff connect cursor dclock desktop dirview \
|
||||
dragdrop drawdemo forever hello layout life menu movies pref \
|
||||
|
@ -1,9 +1,9 @@
|
||||
--- configs/openbsd-g++-shared.orig Fri Feb 26 12:02:08 1999
|
||||
+++ configs/openbsd-g++-shared Fri May 28 12:25:19 1999
|
||||
+++ configs/openbsd-g++-shared Mon Jun 7 09:27:57 1999
|
||||
@@ -1,30 +1,30 @@
|
||||
# Compiling
|
||||
-SYSCONF_CXX = g++
|
||||
+SYSCONF_CXX = $(CX)
|
||||
+SYSCONF_CXX = $(SYS_CXX)
|
||||
|
||||
# Compiling with support libraries
|
||||
-SYSCONF_CXXFLAGS_X11 = -I/usr/X11R6/include
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
# Linking applications
|
||||
-SYSCONF_LINK = g++
|
||||
+SYSCONF_LINK = $(CX)
|
||||
+SYSCONF_LINK = $(SYS_CXX)
|
||||
SYSCONF_LFLAGS =
|
||||
SYSCONF_LIBS =
|
||||
|
||||
@ -51,13 +51,13 @@
|
||||
ranlib $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC)
|
||||
# Compiling application source
|
||||
-SYSCONF_CXXFLAGS = -O2 -fno-strength-reduce
|
||||
+SYSCONF_CXXFLAGS = $(CXFLAGS) -fno-strength-reduce
|
||||
+SYSCONF_CXXFLAGS = $(SYS_CXXFLAGS) -fno-strength-reduce
|
||||
# Compiling library source
|
||||
-SYSCONF_CXXFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CXXFLAGS_LIB = $(CXFLAGS) -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CXXFLAGS_LIB = $(SYS_CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Compiling shared-object source
|
||||
-SYSCONF_CXXFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CXXFLAGS_SHOBJ = $(CXFLAGS) -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CXXFLAGS_SHOBJ = $(SYS_CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Default link type (stati linking is still be used where required)
|
||||
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
|
||||
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)
|
||||
|
@ -1,9 +1,9 @@
|
||||
--- configs/openbsd-g++-static.orig Fri Feb 26 12:02:08 1999
|
||||
+++ configs/openbsd-g++-static Fri May 28 12:25:37 1999
|
||||
+++ configs/openbsd-g++-static Mon Jun 7 09:28:27 1999
|
||||
@@ -1,30 +1,30 @@
|
||||
# Compiling
|
||||
-SYSCONF_CXX = g++
|
||||
+SYSCONF_CXX = $(CX)
|
||||
+SYSCONF_CXX = $(SYS_CXX)
|
||||
|
||||
# Compiling with support libraries
|
||||
-SYSCONF_CXXFLAGS_X11 = -I/usr/X11R6/include
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
# Linking applications
|
||||
-SYSCONF_LINK = g++
|
||||
+SYSCONF_LINK = $(CX)
|
||||
+SYSCONF_LINK = $(SYS_CXX)
|
||||
SYSCONF_LFLAGS =
|
||||
SYSCONF_LIBS =
|
||||
|
||||
@ -51,12 +51,12 @@
|
||||
ranlib $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC)
|
||||
# Compiling application source
|
||||
-SYSCONF_CXXFLAGS = -O2 -fno-strength-reduce
|
||||
+SYSCONF_CXXFLAGS = $(CXFLAGS) -fno-strength-reduce
|
||||
+SYSCONF_CXXFLAGS = $(SYS_CXXFLAGS) -fno-strength-reduce
|
||||
# Compiling library source
|
||||
-SYSCONF_CXXFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CXXFLAGS_LIB = $(CXFLAGS) -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CXXFLAGS_LIB = $(SYS_CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Compiling shared-object source
|
||||
-SYSCONF_CXXFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CXXFLAGS_SHOBJ = $(CXFLAGS) -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CXXFLAGS_SHOBJ = $(SYS_CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_STATIC)
|
||||
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_STATIC)
|
||||
|
@ -1,90 +0,0 @@
|
||||
--- src/Makefile.in.orig Fri Feb 26 12:02:22 1999
|
||||
+++ src/Makefile.in Thu May 27 15:05:30 1999
|
||||
@@ -741,6 +741,7 @@
|
||||
tools/qintdict.h \
|
||||
kernel/qlayout.h \
|
||||
kernel/qgmanager.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o dialogs/qtabdialog.o dialogs/qtabdialog.cpp
|
||||
|
||||
kernel/qaccel.o: kernel/qaccel.cpp \
|
||||
kernel/qaccel.h \
|
||||
@@ -1037,6 +1038,7 @@
|
||||
tools/qdict.h \
|
||||
tools/qgdict.h \
|
||||
tools/qbuffer.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o kernel/qdragobject.o kernel/qdragobject.cpp
|
||||
|
||||
kernel/qdrawutil.o: kernel/qdrawutil.cpp \
|
||||
kernel/qdrawutil.h \
|
||||
@@ -1247,6 +1249,7 @@
|
||||
kernel/qbrush.h \
|
||||
kernel/qpointarray.h \
|
||||
kernel/qwmatrix.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o kernel/qiconset.o kernel/qiconset.cpp
|
||||
|
||||
kernel/qimage.o: kernel/qimage.cpp \
|
||||
kernel/qimage.h \
|
||||
@@ -1525,6 +1528,7 @@
|
||||
tools/qcollection.h \
|
||||
tools/qdatastream.h \
|
||||
tools/qfile.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o kernel/qpicture.o kernel/qpicture.cpp
|
||||
|
||||
kernel/qpixmap.o: kernel/qpixmap.cpp \
|
||||
kernel/qbitmap.h \
|
||||
@@ -1823,6 +1827,7 @@
|
||||
kernel/qkeycode.h \
|
||||
kernel/qapplication.h \
|
||||
kernel/qbrush.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o kernel/qwidget.o kernel/qwidget.cpp
|
||||
|
||||
kernel/qwindow.o: kernel/qwindow.cpp \
|
||||
kernel/qwindow.h \
|
||||
@@ -2376,6 +2381,7 @@
|
||||
tools/qintdict.h \
|
||||
tools/qgdict.h \
|
||||
tools/qcollection.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o widgets/qlabel.o widgets/qlabel.cpp
|
||||
|
||||
widgets/qlcdnumber.o: widgets/qlcdnumber.cpp \
|
||||
widgets/qlcdnumber.h \
|
||||
@@ -2553,6 +2559,7 @@
|
||||
tools/qgdict.h \
|
||||
tools/qvector.h \
|
||||
tools/qgvector.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o widgets/qlistview.o widgets/qlistview.cpp
|
||||
|
||||
widgets/qmainwindow.o: widgets/qmainwindow.cpp \
|
||||
widgets/qmainwindow.h \
|
||||
@@ -2607,6 +2614,7 @@
|
||||
widgets/qtoolbar.h \
|
||||
widgets/qstatusbar.h \
|
||||
widgets/qtooltip.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o widgets/qmainwindow.o widgets/qmainwindow.cpp
|
||||
|
||||
widgets/qmenubar.o: widgets/qmenubar.cpp \
|
||||
widgets/qmenubar.h \
|
||||
@@ -2727,6 +2735,7 @@
|
||||
tools/qregexp.h \
|
||||
kernel/qapplication.h \
|
||||
kernel/qtimer.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o widgets/qmultilinedit.o widgets/qmultilinedit.cpp
|
||||
|
||||
widgets/qpopupmenu.o: widgets/qpopupmenu.cpp \
|
||||
widgets/qpopupmenu.h \
|
||||
@@ -3683,6 +3692,7 @@
|
||||
tools/qgarray.h \
|
||||
tools/qshared.h \
|
||||
tools/qgeneric.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o kernel/qpicture_x11.o kernel/qpicture_x11.cpp
|
||||
|
||||
kernel/qpixmap_x11.o: kernel/qpixmap_x11.cpp \
|
||||
kernel/qbitmap.h \
|
||||
@@ -4016,6 +4026,7 @@
|
||||
tools/qfile.h \
|
||||
tools/qbuffer.h \
|
||||
tools/qintdict.h
|
||||
+ $(CXX) -c $(CXXFLAGS) -O0 $(INCPATH) -o kernel/qpsprinter.o kernel/qpsprinter.cpp
|
||||
|
||||
kernel/qnpsupport.o: kernel/qnpsupport.cpp \
|
||||
kernel/qapplication.h \
|
Loading…
Reference in New Issue
Block a user