- add avahi support as agreed with sthen@

This commit is contained in:
ajacoutot 2009-06-03 20:27:56 +00:00
parent 55a93da197
commit 7f64bee223

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.10 2009/03/11 21:40:42 sthen Exp $
# $OpenBSD: Makefile,v 1.11 2009/06/03 20:27:56 ajacoutot Exp $
COMMENT = VNC server for real X displays
DISTNAME = x11vnc-0.9.6
PKGNAME = ${DISTNAME}p5
PKGNAME = ${DISTNAME}p6
CATEGORIES = x11
HOMEPAGE = http://www.karlrunge.com/x11vnc/
@ -18,15 +18,19 @@ PERMIT_DISTFILES_FTP = Yes
WANTLIB += X11 Xdamage Xext Xfixes Xinerama Xrandr Xtst c crypto
WANTLIB += pthread ssl z
USE_X11 = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libvncserver/}
MODULES = x11/tk
RUN_DEPENDS = ::devel/desktop-file-utils \
${MODTK_RUN_DEPENDS}
LIB_DEPENDS = jpeg::graphics/jpeg
LIB_DEPENDS = jpeg::graphics/jpeg \
avahi-client,avahi-common::net/avahi
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
--with-x --without-avahi
--with-x \
--with-avahi
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"