svn commit: r487933 - in head/comms/xcwcp: . files
Yuri Victorovich
yuri at FreeBSD.org
Fri Dec 21 00:16:54 UTC 2018
Author: yuri
Date: Fri Dec 21 00:16:53 2018
New Revision: 487933
URL: https://svnweb.freebsd.org/changeset/ports/487933
Log:
comms/xcwcp: Fix build with GCC-based architectures
Also reorder USExx and other lines.
PR: 234222
Submitted by: Piotr Kubaj <pkubaj at anongoth.pl>
Added:
head/comms/xcwcp/files/
head/comms/xcwcp/files/patch-src_xcwcp_receiver.h (contents, props changed)
Modified:
head/comms/xcwcp/Makefile
Modified: head/comms/xcwcp/Makefile
==============================================================================
--- head/comms/xcwcp/Makefile Fri Dec 21 00:09:17 2018 (r487932)
+++ head/comms/xcwcp/Makefile Fri Dec 21 00:16:53 2018 (r487933)
@@ -11,10 +11,8 @@ LIB_DEPENDS= libcw.so:comms/unixcw
MASTERDIR= ${.CURDIR}/../unixcw
-PLIST= ${.CURDIR}/pkg-plist
-USE_QT= buildtools gui widgets qmake_build
-USES= gettext qt:5
-# Qt from 5.7.0 on requires c++11.
+USES= compiler:c++11-lang gettext qt:5
+USE_QT= gui widgets buildtools_build qmake_build
USE_CXXSTD= c++11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-xcwcp
@@ -22,6 +20,8 @@ XCWCP= yes
PLIST_FILES= bin/xcwcp \
man/man1/xcwcp.1.gz
LDFLAGS+= -L${LOCALBASE}/lib -lintl
+
+PLIST= ${.CURDIR}/pkg-plist
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xcwcp/xcwcp ${STAGEDIR}${PREFIX}/bin/
Added: head/comms/xcwcp/files/patch-src_xcwcp_receiver.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/xcwcp/files/patch-src_xcwcp_receiver.h Fri Dec 21 00:16:53 2018 (r487933)
@@ -0,0 +1,12 @@
+--- src/xcwcp/receiver.h.orig 2018-12-20 17:18:13.332583000 +0100
++++ src/xcwcp/receiver.h 2018-12-20 17:18:39.100884000 +0100
+@@ -21,6 +21,9 @@
+
+ #include <QMouseEvent>
+ #include <QKeyEvent>
++#ifdef __FreeBSD__
++#include <sys/time.h>
++#endif
+
+
+
More information about the svn-ports-all
mailing list