Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2016 16:17:40 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424270 - head/x11-toolkits/qtermwidget
Message-ID:  <201610191617.u9JGHetl030749@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Oct 19 16:17:40 2016
New Revision: 424270
URL: https://svnweb.freebsd.org/changeset/ports/424270

Log:
  x11-toolkits/qtermwidget: Adjust CFLAGS to support DragonFly
  
  The HAVE_UTEMPTER flag is FreeBSD-specific and breaks the build on
  DragonFly, so make it conditional based on OPSYS.
  
  Approved by:	DF blanket

Modified:
  head/x11-toolkits/qtermwidget/Makefile

Modified: head/x11-toolkits/qtermwidget/Makefile
==============================================================================
--- head/x11-toolkits/qtermwidget/Makefile	Wed Oct 19 16:14:05 2016	(r424269)
+++ head/x11-toolkits/qtermwidget/Makefile	Wed Oct 19 16:17:40 2016	(r424270)
@@ -16,9 +16,13 @@ USE_QT5=	buildtools_build core gui qmake
 
 CMAKE_ARGS+=	-DBUILD_DESIGNER_PLUGIN:BOOL=OFF -DUSE_QT5:BOOL=ON
 
-CFLAGS+=	-DHAVE_UTEMPTER
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	lxde
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD
+CFLAGS+=	-DHAVE_UTEMPTER
+.endif
+
+.include <bsd.port.post.mk>



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