diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2013-02-27 12:25:18 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2013-02-27 12:25:18 +0000 |
commit | 5914c7c1b4017f5981efb57d460b93edcdba3af6 (patch) | |
tree | 12bbf9f37c3bc6085657f6be337cd00ed344a4f6 /devel | |
parent | bbce14dcec28f0f2a7e7be6560896499cae3a618 (diff) | |
download | ports-5914c7c1b4017f5981efb57d460b93edcdba3af6.tar.gz ports-5914c7c1b4017f5981efb57d460b93edcdba3af6.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/qt4-corelib/Makefile | 13 | ||||
-rw-r--r-- | devel/qt4-corelib/files/patch-configure | 22 | ||||
-rw-r--r-- | devel/qt4-corelib/pkg-message | 2 |
3 files changed, 29 insertions, 8 deletions
diff --git a/devel/qt4-corelib/Makefile b/devel/qt4-corelib/Makefile index 2e50b167b0c4..a33d8ee8b6e6 100644 --- a/devel/qt4-corelib/Makefile +++ b/devel/qt4-corelib/Makefile @@ -3,6 +3,7 @@ PORTNAME= corelib DISTVERSION= ${QT4_VERSION} +PORTREVISION= 1 CATEGORIES?= devel PKGNAMEPREFIX= qt4- @@ -45,6 +46,18 @@ EXTRA_PATCHES= ${.CURDIR}/../../devel/qt4/files/patch-configure .include "${.CURDIR}/../../devel/qt4/files/Makefile.options" +.if empty(QT4_OPTIONS:MCUPS) +CONFIGURE_ARGS+= -no-cups +.endif + +.if empty(QT4_OPTIONS:MNAS) +CONFIGURE_ARGS+= -no-nas-sound +.endif + +.if empty(QT4_OPTIONS:MQGTKSTYLE) +CONFIGURE_ARGS+= -no-gtkstyle +.endif + pre-everything:: @${CAT} ${PKGMESSAGE} diff --git a/devel/qt4-corelib/files/patch-configure b/devel/qt4-corelib/files/patch-configure index fab364f73a80..d914c19e98c0 100644 --- a/devel/qt4-corelib/files/patch-configure +++ b/devel/qt4-corelib/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig 2012-01-06 12:10:24.748328275 +0100 -+++ configure 2012-01-06 12:15:25.008280655 +0100 -@@ -7045,7 +7045,6 @@ +--- ./configure.orig 2012-11-23 10:11:23.000000000 +0000 ++++ ./configure 2013-02-26 23:15:08.632185943 +0000 +@@ -7191,7 +7191,6 @@ QT_CONFIG="$QT_CONFIG phonon-backend" fi else @@ -8,7 +8,7 @@ fi # disable accessibility -@@ -7102,7 +7101,6 @@ +@@ -7248,7 +7247,6 @@ # enable opengl if [ "$CFG_OPENGL" = "no" ]; then @@ -16,7 +16,7 @@ else QT_CONFIG="$QT_CONFIG opengl" fi -@@ -7624,7 +7622,6 @@ +@@ -7776,7 +7774,6 @@ if [ "$CFG_XMLPATTERNS" = "yes" ]; then QT_CONFIG="$QT_CONFIG xmlpatterns" else @@ -24,7 +24,15 @@ fi if [ "$CFG_MULTIMEDIA" = "no" ]; then -@@ -8242,10 +8239,8 @@ +@@ -7817,7 +7814,6 @@ + fi + else + rm -f "$outpath/mkspecs/modules/qt_webkit_version.pri" +- QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_WEBKIT" + fi + + if [ "$CFG_SCRIPT" = "yes" -a "$canBuildQtScript" = "no" ]; then +@@ -8399,10 +8395,8 @@ [ "$CFG_MNG" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IMAGEFORMAT_MNG" [ "$CFG_ZLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ZLIB" [ "$CFG_S60" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_S60" @@ -35,7 +43,7 @@ if [ "$PLATFORM_QWS" != "yes" -a "$PLATFORM_QPA" != "yes" ]; then [ "$CFG_GRAPHICS_SYSTEM" = "raster" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_GRAPHICSSYSTEM_RASTER" -@@ -8257,36 +8252,22 @@ +@@ -8419,36 +8413,22 @@ # X11/Unix/Mac only configs [ "$CFG_ICONV" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICONV" [ "$CFG_GLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GLIB" diff --git a/devel/qt4-corelib/pkg-message b/devel/qt4-corelib/pkg-message index bea7270b4448..aea1a6a38531 100644 --- a/devel/qt4-corelib/pkg-message +++ b/devel/qt4-corelib/pkg-message @@ -1,7 +1,7 @@ ====================================================================== Qt 4 can be built with optional support for: - - Common UNIX Printing System (CUPS) + - Common UNIX Printing System (CUPS) (enabled by default) - Network Audio System (NAS) - Qt style that renders using GTK (QGTKSTYLE) |