svn commit: r424270 - head/x11-toolkits/qtermwidget
John Marino
marino at FreeBSD.org
Wed Oct 19 16:17:41 UTC 2016
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>
More information about the svn-ports-all
mailing list