svn commit: r515252 - head/x11/cool-retro-term

Alexey Dokuchaev danfe at FreeBSD.org
Wed Oct 23 12:11:25 UTC 2019


Author: danfe
Date: Wed Oct 23 12:11:24 2019
New Revision: 515252
URL: https://svnweb.freebsd.org/changeset/ports/515252

Log:
  - Switch to USES+=compiler:c++11-lang to unbreak on PowerPC instead
    of the approach taken in r513793 (Clang was never required for this
    port, any not-so-ancient compiler would suffice)
  - Sort the values on the USES list; avoid hardcoding version numbers
  - Pluralize the noun in the COMMENT line and make it a bit shorter
  
  Reviewed by:	pkubaj
  PR:		239181

Modified:
  head/x11/cool-retro-term/Makefile

Modified: head/x11/cool-retro-term/Makefile
==============================================================================
--- head/x11/cool-retro-term/Makefile	Wed Oct 23 11:58:12 2019	(r515251)
+++ head/x11/cool-retro-term/Makefile	Wed Oct 23 12:11:24 2019	(r515252)
@@ -7,7 +7,7 @@ PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	danfe at FreeBSD.org
-COMMENT=	Terminal emulator which mimics the old cathode display
+COMMENT=	Terminal emulator which mimics old cathode displays
 
 LICENSE=	GPLv3
 
@@ -16,24 +16,15 @@ GH_ACCOUNT=	Swordfish90
 GH_PROJECT=	qmltermwidget:qtw
 GH_TAGNAME=	0.2.0:qtw
 
-USES=		compiler gmake gl qmake qt:5
+USES=		compiler:c++11-lang gl gmake qmake qt:5
 USE_GL=		gl
 USE_QT=		qmake_build buildtools_build core declarative gui \
 		network sql widgets graphicaleffects_run \
 		quickcontrols_run sql-sqlite3_run
 
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == gcc
-USE_GCC=	yes
-.else
-BUILD_DEPENDS+=	clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
-MAKE_ENV=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}
-.endif
-
 post-extract:
 	@${RMDIR} ${WRKSRC}/qmltermwidget
-	@${LN} -s ../qmltermwidget-0.2.0 ${WRKSRC}/qmltermwidget
+	@${LN} -s ../qmltermwidget-${GH_TAGNAME_qtw} ${WRKSRC}/qmltermwidget
 
 post-patch:
 	@${REINPLACE_CMD} -e '/DEFINES +=/s,^macx:,,' \
@@ -47,4 +38,4 @@ post-install:
 	${INSTALL_MAN} ${WRKSRC}/packaging/debian/cool-retro-term.1 \
 		${STAGEDIR}${MANPREFIX}/man/man1
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list