aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt33/Makefile
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-07-30 07:06:17 +0800
committerwill <will@FreeBSD.org>2002-07-30 07:06:17 +0800
commita3b190129126191c0a8bc04c6bd67458f18ba883 (patch)
tree0559e0bba5683a59ab193768fb080801ef9a584c /x11-toolkits/qt33/Makefile
parent5803fb634aa41ce63b67da649d2702447aea7b51 (diff)
downloadfreebsd-ports-gnome-a3b190129126191c0a8bc04c6bd67458f18ba883.tar.gz
freebsd-ports-gnome-a3b190129126191c0a8bc04c6bd67458f18ba883.tar.zst
freebsd-ports-gnome-a3b190129126191c0a8bc04c6bd67458f18ba883.zip
Upgrade to Qt 3.0.5.
Submitted by: mi Reviewed by: Lauri Watts <lauri@kde.org>
Diffstat (limited to 'x11-toolkits/qt33/Makefile')
-rw-r--r--x11-toolkits/qt33/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile
index 2f46eb5dd176..6b5b741b57fa 100644
--- a/x11-toolkits/qt33/Makefile
+++ b/x11-toolkits/qt33/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME?= qt
-PORTVERSION?= 3.0.3
-PORTREVISION= 5
+PORTVERSION?= 3.0.5
CATEGORIES?= x11-toolkits
MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \
ftp://ftp.chg.ru/pub/X11/qt/source/
@@ -31,6 +30,8 @@ PLIST_SUB+= IMAGE_PLUGINS="@comment "
QT_PREFIX?= ${PREFIX}
USE_BZIP2= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i ""
USE_X_PREFIX= yes
USE_NEWGCC= yes
HAS_CONFIGURE= yes
@@ -41,7 +42,7 @@ CONFIGURE_ARGS= -prefix ${QT_PREFIX} \
-${IMAGELIB_TYPE}-imgfmt-jpeg \
-${IMAGELIB_TYPE}-imgfmt-mng \
-system-libpng -system-libjpeg -system-libmng \
- -no-nas-sound -sm -remote \
+ -no-nas-sound -sm \
-docdir ${QT_PREFIX}/share/doc/qt \
-I${LOCALBASE}/include -L${LOCALBASE}/lib
.if defined(WITH_DEBUG)
@@ -57,7 +58,8 @@ PKGMESSAGE=${NONEXISTENT}
PLIST_SUB+= OPENGL="@comment "
CONFIGURE_ARGS+=-disable-opengl
.endif
-CONFIGURE_ENV= ${ECHO} yes | QTDIR=${WRKSRC}
+CONFIGURE_ENV= ${ECHO} yes | QTDIR="${WRKSRC}" \
+ CFLAGS="${CXXFLAGS}"
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib
ALL_TARGET= symlinks sub-src sub-tools
@@ -99,6 +101,8 @@ post-patch:
@cd ${WRKSRC}/extensions/nsplugin/src; \
${RM} -f jri.h jri_md.h jritypes.h npapi.h npupp.h \
npunix.c npwin.cpp
+ ${REINPLACE_CMD} -e 's,-O2,${CXXFLAGS},' \
+ ${WRKSRC}/mkspecs/freebsd-g++/qmake.conf
# Work around qmake generated dependencies
pre-install: