aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/qt30
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-02-10 04:25:47 +0000
committerWill Andrews <will@FreeBSD.org>2002-02-10 04:25:47 +0000
commitd4c869e236643d62e86bb0bcfd50587502f49f71 (patch)
tree173951b4d7796b06b1144e128753f2d6470abb19 /x11-toolkits/qt30
parent0ff251dc90d9bfeea5a2af9367f9f57478d21531 (diff)
downloadports-d4c869e236643d62e86bb0bcfd50587502f49f71.tar.gz
ports-d4c869e236643d62e86bb0bcfd50587502f49f71.zip
Notes
Diffstat (limited to 'x11-toolkits/qt30')
-rw-r--r--x11-toolkits/qt30/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/qt30/Makefile b/x11-toolkits/qt30/Makefile
index 6784057df9be..cf6aeed7f474 100644
--- a/x11-toolkits/qt30/Makefile
+++ b/x11-toolkits/qt30/Makefile
@@ -65,7 +65,7 @@ PLIST_SUB+= SHARED="" STATIC="@comment "
.include <bsd.port.pre.mk>
-.if ${MACHINE_ARCH} == "alpha"
+.if ${MACHINE_ARCH} == "alpha" && !defined(NO_ALPHA_UNOPTIMIZATION)
CFLAGS+= -O0
.endif
@@ -97,8 +97,8 @@ post-patch:
pre-configure: qt-pre-configure
${PERL} -pi -e "s,gcc,${CC},g; s,g\+\+,${CXX},g; \
- s,/usr/X11R6,${X11BASE},g; \
- s,-fno-exceptions,-fno-exceptions ${CXXFLAGS} -I/usr/include -D_PTH_H_ -D_PTH_PTHREAD_H_ -frerun-cse-after-loop,g" ${CONFIG}
+ s,/usr/X11R6,${X11BASE},g;s,-O2,${CFLAGS},g; \
+ s,-fno-exceptions,-fno-exceptions ${CXXFLAGS} -I/usr/include -D_PTH_H_ -D_PTH_PTHREAD_H_,g" ${CONFIG}
${PERL} -pi -e "s,VER_MAJ = 2,VER_MAJ = 4,g; \
s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in
${PERL} -pi -e "s@TARGET\t= moc@TARGET = moc2@g" ${WRKSRC}/src/moc/Makefile.in