Lines 19-25
LIB_DEPENDS= libnettle.so:security/nettle \
Link Here
|
19 |
libfontconfig.so:x11-fonts/fontconfig \ |
19 |
libfontconfig.so:x11-fonts/fontconfig \ |
20 |
libfreetype.so:print/freetype2 \ |
20 |
libfreetype.so:print/freetype2 \ |
21 |
libepoxy.so:graphics/libepoxy \ |
21 |
libepoxy.so:graphics/libepoxy \ |
22 |
libpcre2-8.so:devel/pcre2 |
22 |
libpcre2-8.so:devel/pcre2 \ |
|
|
23 |
libfdt.so>=1.6.0:sysutils/dtc |
23 |
|
24 |
|
24 |
USES= bison compiler:c11 cpe gmake gnome iconv:wchar_t perl5 \ |
25 |
USES= bison compiler:c11 cpe gmake gnome iconv:wchar_t perl5 \ |
25 |
pkgconfig python:build tar:xz xorg |
26 |
pkgconfig python:build tar:xz xorg |
Lines 37-43
MAKE_ENV+= BSD_MAKE="${MAKE}" V=1
Link Here
|
37 |
|
38 |
|
38 |
OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \ |
39 |
OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \ |
39 |
VDE CDROM_DMA PCAP USBREDIR X86_TARGETS \ |
40 |
VDE CDROM_DMA PCAP USBREDIR X86_TARGETS \ |
40 |
STATIC_LINK DOCS NCURSES |
41 |
STATIC_LINK DOCS NCURSES DEBUG |
41 |
SAMBA_DESC= samba dependency (for -smb) |
42 |
SAMBA_DESC= samba dependency (for -smb) |
42 |
GNUTLS_DESC= gnutls dependency (vnc encryption) |
43 |
GNUTLS_DESC= gnutls dependency (vnc encryption) |
43 |
SASL_DESC= cyrus-sasl dependency (vnc encryption) |
44 |
SASL_DESC= cyrus-sasl dependency (vnc encryption) |
Lines 49-55
USBREDIR_DESC= usb device network redirection (experimental!)
Link Here
|
49 |
X86_TARGETS_DESC= Build only x86 system targets |
50 |
X86_TARGETS_DESC= Build only x86 system targets |
50 |
STATIC_LINK_DESC= Statically link the executables |
51 |
STATIC_LINK_DESC= Statically link the executables |
51 |
VDE_DESC= vde dependency (for vde networking) |
52 |
VDE_DESC= vde dependency (for vde networking) |
52 |
OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP NCURSES VDE |
53 |
DEBUG_DESC= Build with debugging support |
|
|
54 |
OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP NCURSES VDE DEBUG |
53 |
OPTIONS_SUB= yes |
55 |
OPTIONS_SUB= yes |
54 |
X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 |
56 |
X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 |
55 |
X11_USES= sdl |
57 |
X11_USES= sdl |
Lines 82-108
VDE_CONFIGURE_OFF= --disable-vde
Link Here
|
82 |
STATIC_LINK_CONFIGURE_ON= --static |
84 |
STATIC_LINK_CONFIGURE_ON= --static |
83 |
STATIC_LINK_PREVENTS= GTK3 X11 |
85 |
STATIC_LINK_PREVENTS= GTK3 X11 |
84 |
STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static |
86 |
STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static |
85 |
NCURSES_USES= ncurses:base |
87 |
NCURSES_USES= ncurses |
86 |
SAMBA_USES= samba:run # smbd |
88 |
SAMBA_USES= samba:run # smbd |
87 |
SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd |
89 |
SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd |
88 |
DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html \ |
90 |
DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html \ |
89 |
sphinx-build:textproc/py-sphinx |
91 |
sphinx-build:textproc/py-sphinx |
90 |
DOCS_USES= makeinfo |
92 |
DOCS_USES= makeinfo |
91 |
DOCS_MAKE_ARGS_OFF= NOPORTDOCS=1 |
93 |
DOCS_MAKE_ARGS_OFF= NOPORTDOCS=1 |
|
|
94 |
DEBUG_VARS= WITH_DEBUG=1 CONFIGURE_ARGS+=--enable-debug |
95 |
DEBUG_VARS+= CONFIGURE_ARGS+=--enable-debug-info |
92 |
|
96 |
|
93 |
PORTDOCS= docs interop/.buildinfo interop/* qemu-doc.html qemu-doc.txt qemu-ga-ref.html qemu-ga-ref.txt \ |
97 |
PORTDOCS= docs interop/.buildinfo interop/* qemu-doc.html qemu-doc.txt qemu-ga-ref.html qemu-ga-ref.txt \ |
94 |
qemu-qmp-ref.html qemu-qmp-ref.txt specs/.buildinfo specs/* |
98 |
qemu-qmp-ref.html qemu-qmp-ref.txt specs/.buildinfo specs/* |
95 |
|
99 |
|
|
|
100 |
## NB specify extra-ldflags only once w/ no quote marks, |
101 |
## or it will miss the system libfdt |
102 |
|
96 |
WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation |
103 |
WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation |
97 |
CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} |
104 |
CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} |
98 |
CONFIGURE_ARGS= --localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ |
105 |
CONFIGURE_ARGS= --localstatedir=/var \ |
99 |
--extra-ldflags=-L\"${LOCALBASE}/lib\" --enable-debug \ |
106 |
--extra-ldflags=-L/usr/lib\ -L${LOCALBASE}/lib \ |
100 |
--prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \ |
107 |
--prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \ |
101 |
--disable-linux-user --disable-linux-aio --disable-xen \ |
108 |
--disable-linux-user --disable-linux-aio --disable-xen \ |
102 |
--enable-debug-info --python=${PYTHON_CMD} \ |
109 |
--python=${PYTHON_CMD} \ |
103 |
--extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" |
110 |
--extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" |
104 |
INSTALLS_ICONS= yes |
111 |
INSTALLS_ICONS= yes |
105 |
|
112 |
|
|
|
113 |
|
106 |
.include <bsd.port.options.mk> |
114 |
.include <bsd.port.options.mk> |
107 |
|
115 |
|
108 |
.if !defined(STRIP) || ${STRIP} == "" |
116 |
.if !defined(STRIP) || ${STRIP} == "" |