svn commit: r478101 - head/devel/tinyq

Tobias Kortkamp tobik at FreeBSD.org
Sun Aug 26 07:03:21 UTC 2018


Author: tobik
Date: Sun Aug 26 07:03:20 2018
New Revision: 478101
URL: https://svnweb.freebsd.org/changeset/ports/478101

Log:
  devel/tinyq: Fix build with Clang 6
  
  generators/win32/borland_bmake.cpp:265:51: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
      bool is_qt = (project->first("TARGET") == "qt"QTDLL_POSTFIX || project->first("TARGET") == "qtmt"QTDLL_POSTFIX);
                                                    ^
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/tinyq-3.0.6_4.log
  
  - Make sure the build respects CFLAGS and CXXFLAGS
  - Deprecate it. Quote from the website:
    "These projects are retired.  The development has stopped and we
    don't provide support for them anymore."

Modified:
  head/devel/tinyq/Makefile

Modified: head/devel/tinyq/Makefile
==============================================================================
--- head/devel/tinyq/Makefile	Sun Aug 26 06:39:08 2018	(r478100)
+++ head/devel/tinyq/Makefile	Sun Aug 26 07:03:20 2018	(r478101)
@@ -13,7 +13,11 @@ COMMENT=	Stripped down version of Qt 3 for use as a ut
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE.GPL
 
+DEPRECATED=	Unmaintained upstream and unused in the ports tree
+EXPIRATION_DATE=	2018-09-15
+
 USES=		gmake tar:bzip2
+USE_CXXSTD=	c++98
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	-thread -stl -prefix ${PREFIX}/tinyq -docdir ${DOCSDIR}
 CONFIGURE_ENV=	QTDIR="${WRKSRC}"
@@ -24,8 +28,8 @@ OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-O2|${CXXFLAGS}|' \
-		-e 's|gcc|${CC}|' \
-		-e 's|g++|${CXX}|' \
+		-e 's|gcc|${CC} ${CFLAGS}|' \
+		-e 's|g++|${CXX} ${CXXFLAGS}|' \
 		-e 's|/usr/local|${LOCALBASE}|' \
 		-e 's|/usr/X11R6|${LOCALBASE}|' \
 		-e 's|release|release thread|' \


More information about the svn-ports-all mailing list