Index: emulators/qemu/Makefile =================================================================== --- emulators/qemu/Makefile +++ emulators/qemu/Makefile @@ -3,6 +3,7 @@ PORTNAME= qemu PORTVERSION= 5.0.1 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ DIST_SUBDIR= qemu/${PORTVERSION} @@ -126,7 +127,7 @@ --extra-ldflags=-L\"${LOCALBASE}/lib\" --disable-libssh \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ - --python=${PYTHON_CMD} \ + --python=${PYTHON_CMD} --enable-slirp \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" .include Index: emulators/qemu/files/patch-configure =================================================================== --- emulators/qemu/files/patch-configure +++ emulators/qemu/files/patch-configure @@ -27,6 +27,8 @@ + ;; + --disable-pcap) pcap="no" + ;; ++ --enable-slirp) slirp="internal" ++ ;; --disable-slirp) slirp="no" ;; --enable-slirp=git) slirp="git"