View | Details | Raw Unified | Return to bug 201863
Collapse All | Expand All

(-)emulators/q4wine/Makefile (-10 / +4 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	q4wine
4
PORTNAME=	q4wine
5
DISTVERSION=	1.1-r2
5
DISTVERSION=	1.1-r2
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	emulators deskutils
7
CATEGORIES=	emulators deskutils
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION:S/.r/-r/}/
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION:S/.r/-r/}/
9
9
Lines 11-16 Link Here
11
COMMENT=	QT4 front-end for WINE
11
COMMENT=	QT4 front-end for WINE
12
12
13
LICENSE=	GPLv3
13
LICENSE=	GPLv3
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
15
15
BUILD_DEPENDS=	icotool:${PORTSDIR}/graphics/icoutils
16
BUILD_DEPENDS=	icotool:${PORTSDIR}/graphics/icoutils
16
RUN_DEPENDS=	sudo:${PORTSDIR}/security/sudo \
17
RUN_DEPENDS=	sudo:${PORTSDIR}/security/sudo \
Lines 20-30 Link Here
20
21
21
USES=		cmake desktop-file-utils
22
USES=		cmake desktop-file-utils
22
CMAKE_ARGS+=	-DMANPAGE_ENTRY_PATH=${MANPREFIX}/man
23
CMAKE_ARGS+=	-DMANPAGE_ENTRY_PATH=${MANPREFIX}/man
23
USE_GCC=	yes
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
INSTALLS_ICONS=	yes
25
INSTALLS_ICONS=	yes
26
USE_QT4=	qmake_build rcc_build moc_build uic_build \
26
USE_QT4=	qmake_build rcc_build moc_build uic_build \
27
		linguist_build corelib gui sql network
27
		linguisttools_build corelib gui sql sql-sqlite3_run network
28
ONLY_FOR_ARCHS=	i386 amd64
28
ONLY_FOR_ARCHS=	i386 amd64
29
29
30
PORTDOCS=	AUTHORS ChangeLog README TODO
30
PORTDOCS=	AUTHORS ChangeLog README TODO
Lines 34-44 Link Here
34
34
35
OPTIONS_SUB=	yes
35
OPTIONS_SUB=	yes
36
36
37
NLS_CONFIGURE_ENABLE=	nls
38
NLS_USES=		gettext
39
40
DBUS_CMAKE_ON=		-DWITH_DBUS:BOOL=ON
37
DBUS_CMAKE_ON=		-DWITH_DBUS:BOOL=ON
41
DBUS_CMAKE_OFF=		-DWITH_DBUS:BOOL=OFF
38
DBUS_CMAKE_OFF=		-DWITH_DBUS:BOOL=OFF
39
DBUS_USE=		QT4=dbus
42
40
43
.include <bsd.port.options.mk>
41
.include <bsd.port.options.mk>
44
42
Lines 46-55 Link Here
46
RUN_DEPENDS+=	wine:${PORTSDIR}/emulators/wine-devel
44
RUN_DEPENDS+=	wine:${PORTSDIR}/emulators/wine-devel
47
.endif
45
.endif
48
46
49
.if ${PORT_OPTIONS:MDBUS}
50
USE_QT4+=	dbus
51
.endif
52
53
post-patch:
47
post-patch:
54
	@${REINPLACE_CMD} -e 's|/share/man|/man|' \
48
	@${REINPLACE_CMD} -e 's|/share/man|/man|' \
55
		${WRKSRC}/src/CMakeLists.txt
49
		${WRKSRC}/src/CMakeLists.txt
(-)emulators/q4wine/files/patch-src_q4wine-gui_process.cpp (+11 lines)
Line 0 Link Here
1
--- src/q4wine-gui/process.cpp.orig	2015-07-24 20:19:50 UTC
2
+++ src/q4wine-gui/process.cpp
3
@@ -16,6 +16,8 @@
4
  *                                                                         *
5
  ***************************************************************************/
6
 
7
+#include <locale.h>
8
+
9
 #include "process.h"
10
 
11
 Process::Process (QStringList args, QString exec, QString dir, QString info, QString caption, bool showErr, QStringList env, QWidget * parent, Qt::WFlags f)

Return to bug 201863