Index: head/devel/qt5-core/Makefile =================================================================== --- head/devel/qt5-core/Makefile (revision 472334) +++ head/devel/qt5-core/Makefile (revision 472335) @@ -1,61 +1,61 @@ # $FreeBSD$ PORTNAME= core DISTVERSION= ${QT5_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt core non-graphical module LIB_DEPENDS= libicui18n.so:devel/icu \ libpcre2-posix.so:devel/pcre2 USE_GNOME= glib20 USE_QT5= qmake_build buildtools_build QT_DIST= base HAS_CONFIGURE= yes # Disable (almost) everything to install minimal qconfig.h. # -no-feature-* adds QT_NO_* (for features which have no switch or # that need to be detected). CONFIGURE_ARGS= -no-accessibility -no-gif -no-libpng -no-libjpeg \ -no-openssl -no-gui -no-widgets -no-cups \ -no-iconv -no-dbus -no-opengl \ -no-egl -no-evdev \ -no-fontconfig -no-freetype -no-gtk -no-harfbuzz \ -no-libudev -no-xcb -no-xinput2 -no-xkb -no-xcb-xlib \ -no-xkbcommon -no-libinput USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src/corelib INSTALL_WRKSRC= ${BUILD_WRKSRC} QT_DEFINES= GLIB QT_CONFIG= glib icu .include post-configure: .for d in src/tools/bootstrap src/tools/qfloat16-tables src/corelib ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor pre-build: .for d in src/tools/bootstrap src/tools/qfloat16-tables src/corelib ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} .endfor post-install: # Allow qconfig.h to be customized by single ports. ${AWK} 'BEGIN{print "#include "}{print}' \ ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig.h > ${WRKDIR}/qconfig.h # Cleanup qconfig.h and remove stray '#define QT_NO_FOO' ${REINPLACE_CMD} "/#define QT_NO_/d" ${WRKDIR}/qconfig.h ${MV} ${WRKDIR}/qconfig.h ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig.h .include Index: head/devel/qt5-core/files/patch-src_corelib_tools_qtimezoneprivate_tz.cpp =================================================================== --- head/devel/qt5-core/files/patch-src_corelib_tools_qtimezoneprivate_tz.cpp (nonexistent) +++ head/devel/qt5-core/files/patch-src_corelib_tools_qtimezoneprivate_tz.cpp (revision 472335) @@ -0,0 +1,20 @@ +--- src/corelib/tools/qtimezoneprivate_tz.cpp.orig 2018-06-13 08:09:13.578248000 -0700 ++++ src/corelib/tools/qtimezoneprivate_tz.cpp 2018-06-13 08:11:15.328743000 -0700 +@@ -1072,6 +1072,17 @@ QByteArray QTzTimeZonePrivate::systemTim + } + } + ++ // On many FreeBSD systems, /etc/localtime is a regular file while the actual name is in /var/db/zoneinfo ++ if (ianaId.isEmpty()) { ++ QFile tzif(QStringLiteral("/var/db/zoneinfo")); ++ if (tzif.open(QIODevice::ReadOnly)) { ++ // TODO QTextStream inefficient, replace later ++ QTextStream ts(&tzif); ++ if (!ts.atEnd()) ++ ianaId = ts.readLine().toUtf8(); ++ } ++ } ++ + // On some Red Hat distros /etc/localtime is real file with name held in /etc/sysconfig/clock + // in a line like ZONE="Europe/Oslo" or TIMEZONE="Europe/Oslo" + if (ianaId.isEmpty()) { Property changes on: head/devel/qt5-core/files/patch-src_corelib_tools_qtimezoneprivate_tz.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property