Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 07:03:20 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478101 - head/devel/tinyq
Message-ID:  <201808260703.w7Q73KMV056705@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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|' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808260703.w7Q73KMV056705>