summaryrefslogtreecommitdiff
path: root/emulators/wine
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2021-11-23 23:11:40 +0100
committerStefan Eßer <se@FreeBSD.org>2021-11-23 23:11:40 +0100
commit5933ac0b099d61d98eb531d373cf57a8927bc7af (patch)
treefc0ebf2ac7225dec2aa7f2a7b0efbb91919c1030 /emulators/wine
parentlang/guile2: define _WITH_CPU_SET_T to fix build on -CURRENT (diff)
*/*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package names without version (as reported by "pkg query "%n"), then - if there was no match - agsinst the full package names including the version (as reported by "pkg query "%n-%v"). Approved by: portmgr (blanket)
Diffstat (limited to 'emulators/wine')
-rw-r--r--emulators/wine/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index ed3e5754d68f..367205931cc6 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -18,7 +18,8 @@ ONLY_FOR_ARCHS= amd64 i386
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex
LIB_DEPENDS= libFAudio.so:audio/faudio \
- libxml2.so:textproc/libxml2
+ libxml2.so:textproc/libxml2 \
+ libsysinfo.so:devel/libsysinfo
USES= bison cpe desktop-file-utils gmake localbase \
pkgconfig sdl shebangfix tar:xz
@@ -57,7 +58,7 @@ CONFIGURE_ARGS+=--verbose \
--without-udev \
--without-unwind \
--without-usb
-CONFIGURE_ENV= CPPBIN="${CPP}" FLEX="${LOCALBASE}/bin/flex"
+CONFIGURE_ENV= CPPBIN="${CPP}" FLEX="${LOCALBASE}/bin/flex" CFLAGS="-D_WITH_CPU_SET_T"
WINELIBDIR?= ${PREFIX}/lib
.if !defined(USE_LDCONFIG32)
USE_LDCONFIG= ${WINELIBDIR} ${WINELIBDIR}/wine