c2e63a4c3a
# if __BYTE_ORDER == __BIG_ENDIAN is always true, and e.g. x11vnc wrongly sets bigEndian in the wire strucure, causing clients to fail. Check that __BYTE_ORDER is defined before using it, and add a test for _BYTE_ORDER too. Bump PKGREVISION
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2018/07/18 17:55:54 bouyer Exp $
|
|
#
|
|
|
|
DISTNAME= libvncserver-LibVNCServer-0.9.11
|
|
PKGNAME= libVNCServer-0.9.11
|
|
PKGREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=LibVNC/}
|
|
GITHUB_PROJECT= libvncserver
|
|
GITHUB_TAG= LibVNCServer-${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pierrick@bs-network.net
|
|
HOMEPAGE= https://libvnc.github.io/
|
|
COMMENT= Easy API to write one's own vnc server
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= automake
|
|
|
|
PKGCONFIG_OVERRIDE+= libvncserver.pc.in
|
|
PKGCONFIG_OVERRIDE+= libvncclient.pc.in
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
CONFIGURE_ARGS+= --without-sdl-config
|
|
CONFIGURE_ARGS+= --without-x11vnc
|
|
|
|
PTHREAD_AUTO_VARS= yes
|
|
SUBST_CLASSES+= pthread
|
|
SUBST_STAGE.pthread= pre-configure
|
|
SUBST_FILES.pthread= configure.ac
|
|
SUBST_SED.pthread= -e 's|-lpthread||g'
|
|
|
|
.include "options.mk"
|
|
|
|
pre-configure:
|
|
set -e; cd ${WRKSRC}; \
|
|
libtoolize; aclocal; autoheader; automake -a --foreign -i; autoconf
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|