Lines 1-6
Link Here
|
1 |
PORTNAME= qemu |
1 |
PORTNAME= qemu |
2 |
PORTVERSION= 3.1.0 |
2 |
PORTVERSION= 3.1.0 |
3 |
PORTREVISION= 14 |
3 |
PORTREVISION= 15 |
4 |
CATEGORIES= emulators |
4 |
CATEGORIES= emulators |
5 |
PKGNAMESUFFIX= -user-static |
5 |
PKGNAMESUFFIX= -user-static |
6 |
DIST_SUBDIR= qemu/${PORTVERSION} |
6 |
DIST_SUBDIR= qemu/${PORTVERSION} |
Lines 13-35
LICENSE= GPLv2
Link Here
|
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
14 |
|
15 |
ONLY_FOR_ARCHS= amd64 powerpc powerpc64 |
15 |
ONLY_FOR_ARCHS= amd64 powerpc powerpc64 |
16 |
CONFLICTS_INSTALL= qemu-user-static-devel |
16 |
|
|
|
17 |
# When static linking we have a build dependency on libglib-2.0.a, otherwise |
18 |
# we use glib20 in the usual way (shared-lib runtime dependency). |
19 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libglib-2.0.a:devel/glib20 |
17 |
|
20 |
|
18 |
USES= bison compiler:c11 cpe elfctl gmake perl5 pkgconfig python:build |
21 |
USES= bison compiler:c11 cpe elfctl gmake perl5 pkgconfig python:build |
19 |
USE_GITHUB= yes |
22 |
USE_GITHUB= yes |
20 |
GH_TUPLE= qemu-bsd-user:qemu-bsd-user:527096e0c8 \ |
23 |
GH_TUPLE= qemu-bsd-user:qemu-bsd-user:527096e0c8 \ |
21 |
qemu:keycodemapdb:10739aa:keycodemapdb/ui/keycodemapdb |
24 |
qemu:keycodemapdb:10739aa:keycodemapdb/ui/keycodemapdb |
22 |
HAS_CONFIGURE= yes |
|
|
23 |
USE_PERL5= build |
25 |
USE_PERL5= build |
|
|
26 |
USE_RC_SUBR= qemu_user_static |
27 |
|
28 |
HAS_CONFIGURE= yes |
24 |
MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 |
29 |
MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 |
25 |
ELF_FEATURES= +wxneeded:*-bsd-user/qemu-* |
30 |
ELF_FEATURES= +wxneeded:*-bsd-user/qemu-* |
26 |
|
31 |
|
27 |
USE_RC_SUBR= qemu_user_static |
32 |
CONFLICTS_INSTALL= qemu-user-static-devel |
|
|
33 |
|
28 |
SUB_LIST= NAME=qemu_user_static |
34 |
SUB_LIST= NAME=qemu_user_static |
29 |
|
35 |
|
30 |
# When static linking we have a build dependency on libglib-2.0.a, otherwise |
36 |
OPTIONS_DEFINE= ELFUTILS |
31 |
# we use glib20 in the usual way (shared-lib runtime dependency). |
37 |
|
32 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libglib-2.0.a:devel/glib20 |
38 |
ELFUTILS_DESC= Depend on libelf from port elfutils instead of base |
|
|
39 |
ELFUTILS_BUILD_DEPENDS= ${LOCALBASE}/lib/libelf.so:devel/elfutils |
40 |
ELFUTILS_RUN_DEPENDS= ${LOCALBASE}/lib/libelf.so:devel/elfutils |
41 |
ELFUTILS_LDFLAGS_OFF= -L/usr/lib |
33 |
|
42 |
|
34 |
.include <bsd.port.pre.mk> |
43 |
.include <bsd.port.pre.mk> |
35 |
|
44 |
|