69 lines
2.0 KiB
Makefile
69 lines
2.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.40 2020/12/03 12:48:22 sthen Exp $
|
|
|
|
# Also: __sync_fetch_and_add_4 __sync_add_and_fetch_4 __sync_sub_and_fetch_4
|
|
BROKEN-hppa = undefined reference to __sync_val_compare_and_swap_4
|
|
|
|
COMMENT = client for Microsoft RDP (remote desktop protocol)
|
|
DISTNAME = freerdp-2.0.0-rc1
|
|
PKGNAME = freerdp-2.0.0rc1
|
|
REVISION = 4
|
|
CATEGORIES = x11 net
|
|
|
|
# XXX This version has known security issues.
|
|
|
|
# XXX Can't be updated without either timer_create() and friends or
|
|
# an alternative timer implementation (as was done for OSX).
|
|
# Make sure it gets through the waitable timer checks in "make
|
|
# test" without hanging or failing. Since it came up a few times,
|
|
# just setting "timer->fd = kqueue()" in InitializeWaitableTimer
|
|
# is not enough. See https://junkpile.org/freerdp.diff for the
|
|
# non-timer-related parts of an update.
|
|
|
|
SHARED_LIBS += freerdp-client2 0.0 # 2.0
|
|
SHARED_LIBS += freerdp2 0.0 # 2.0
|
|
SHARED_LIBS += winpr-tools2 0.0 # 2.0
|
|
SHARED_LIBS += winpr2 0.0 # 2.0
|
|
|
|
HOMEPAGE = https://www.freerdp.com/
|
|
MASTER_SITES = https://pub.freerdp.com/releases/
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += X11 Xcursor Xext Xfixes Xi Xinerama Xrender Xv avcodec
|
|
WANTLIB += avutil c crypto cups execinfo m pthread ssl xkbfile
|
|
|
|
# thread-local storage
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
MODULES = devel/cmake
|
|
|
|
CFLAGS += -I${X11BASE}/include -I${LOCALBASE}/include
|
|
|
|
BUILD_DEPENDS = security/pcsc-lite \
|
|
textproc/xmlto
|
|
|
|
LIB_DEPENDS = devel/libexecinfo \
|
|
print/cups,-libs \
|
|
graphics/ffmpeg
|
|
|
|
CONFIGURE_ARGS += -DBUILD_TESTING=ON \
|
|
-DWITH_CUPS=ON \
|
|
-DWITH_DIRECTFB=OFF \
|
|
-DWITH_GSTREAMER_0_10=OFF \
|
|
-DWITH_GSTREAMER_1_0=OFF \
|
|
-DWITH_OPENSLES=OFF \
|
|
-DWITH_PCSC=ON \
|
|
-DWITH_LIBSYSTEMD=OFF \
|
|
-DWITH_OSS=OFF
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/winpr/libwinpr/CMakeLists.txt
|
|
${SUBST_CMD} ${WRKSRC}/CMakeLists.txt
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
CONFIGURE_ARGS += -DWITH_NEON=OFF
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|