tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Qt5 fix for testing
On Fri, Dec 20, 2013 at 12:00:13PM +0100, Joerg Sonnenberger wrote:
> Hi all,
> the attached patch fixes Qt5 when building against modular Xorg. It
> would be nice if someone else can make sure the PLIST change for
> qtmultimedia is correct for systems other than NetBSD/current.
>
> Joerg
> Index: x11/qt5-qtbase/Makefile
> ==================================================================
> --- x11/qt5-qtbase/Makefile
> +++ x11/qt5-qtbase/Makefile
> @@ -1,8 +1,9 @@
> # $NetBSD: Makefile,v 1.1 2013/12/13 14:38:35 ryoon Exp $
>
> PKGNAME= qt5-qtbase-${QTVERSION}
> +PKGREVISION= 1
> COMMENT= C++ X GUI toolkit
>
> .include "../../x11/qt5-qtbase/Makefile.common"
>
> BUILD_DIRS+= qtbase
>
> Index: x11/qt5-qtbase/Makefile.common
> ==================================================================
> --- x11/qt5-qtbase/Makefile.common
> +++ x11/qt5-qtbase/Makefile.common
> @@ -43,11 +43,11 @@
> BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
>
> HAS_CONFIGURE= yes
> USE_LANGUAGES= c c++
> USE_LIBTOOL= yes
> -USE_TOOLS+= gmake perl:build
> +USE_TOOLS+= gmake perl:build pkg-config
>
> CONFIG_SHELL= ${PERL5}
>
> REPLACE_PERL+= qtbase/bin/syncqt.pl
> REPLACE_PERL+=
> qtwebkit/Source/WebKit2/Scripts/generate-forwarding-headers.pl
> @@ -182,11 +182,12 @@
>
> .if empty(PKGNAME:Mqt5-qtbase*) && empty(PKGNAME:Mqt5-sqlite3*) \
> && empty(PKGNAME:Mqt5-mysql*) && empty(PKGNAME:Mqt5-psql*) \
> && empty(PKGNAME:Mqt5-odbc*)
> post-configure:
> - cd ${WRKSRC}/${BUILD_DIRS} && ${QTPREFIX}/bin/qmake -o Makefile
> + cd ${WRKSRC}/${BUILD_DIRS} && \
> + ${PKGSRC_SETENV} ${_CONFIGURE_SCRIPT_ENV} ${QTPREFIX}/bin/qmake -o
> Makefile
> .endif
>
> .include "../../devel/zlib/buildlink3.mk"
> .include "../../devel/gettext-lib/buildlink3.mk"
> .include "../../devel/glib2/buildlink3.mk"
>
I took this part of the changes to try and fix my qt5-qtwebkit build
breakage, but didn't see a change:
gmake[2]: Leaving directory
'/scratch/x11/qt5-qtwebkit/work/qt-everywhere-opensource-src-5.2.0/qtwebkit/Source/WebCore'
gmake[1]: Leaving directory
'/scratch/x11/qt5-qtwebkit/work/qt-everywhere-opensource-src-5.2.0/qtwebkit/Source/WebCore'
cd Source/WebKit/ && ( test -e Makefile.WebKit1 || /usr/pkg/qt5/bin/qmake
/scratch/x11/qt5-qtwebkit/work/qt-everywhere-opensource-src-5.2.0/qtwebkit/Source/WebKit/WebKit1.pro
-o Makefile.WebKit1 ) && /usr/pkg/bin/gmake -f Makefile.WebKit1 all
Project ERROR: Package x11 not found
Makefile:223: recipe for target 'sub-Source-WebKit-WebKit1-pro-all-ordered'
failed
gmake: *** [sub-Source-WebKit-WebKit1-pro-all-ordered] Error 3
*** Error code 2
Stop.
Do you have a suggestion for that as well?
Thomas
Home |
Main Index |
Thread Index |
Old Index