mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Add knob to explicitly add/remove gnutls dependency
Noticed by: jkim
This commit is contained in:
parent
f630ef5a3d
commit
b2117034c8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208444
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= qemu
|
||||
PORTVERSION= 0.9.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= http://fabrice.bellard.free.fr/qemu/:release \
|
||||
http://qemu.org/:release \
|
||||
@ -34,6 +35,7 @@ OPTIONS= KQEMU "Build with (alpha!) accelerator module" Off \
|
||||
RTL8139_TIMER "allow use of re(4) nic with FreeBSD guests" Off \
|
||||
SAMBA "samba dependency (for -smb)" Off \
|
||||
SDL "SDL/X dependency (graphical output)" On \
|
||||
GNUTLS "gnutls dependency (vnc encryption)" On \
|
||||
CDROM_DMA "IDE CDROM DMA" On
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -53,6 +55,12 @@ CONFIGURE_ARGS+= --disable-sdl --disable-gfx-check
|
||||
USE_SDL= sdl
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_GNUTLS)
|
||||
CONFIGURE_ARGS+= --disable-vnc-tls
|
||||
.else
|
||||
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
|
||||
.endif
|
||||
|
||||
.if defined (WITH_HACKS_CIRRUS) || defined (WITH_HACKS)
|
||||
DISTFILES+= patch3_cirrus:misc
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user