net/mtr: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
5359472de0
commit
fa44b265e5
1 changed files with 13 additions and 6 deletions
|
|
@ -17,22 +17,29 @@ USES= autoreconf ncurses pkgconfig
|
|||
GNU_CONFIGURE= yes
|
||||
LDFLAGS+= -lncurses
|
||||
|
||||
FLAVORS= x11 nox11
|
||||
FLAVOR?= ${FLAVORS:[1]}
|
||||
nox11_PKGNAMESUFFIX= -nox11
|
||||
.if ${FLAVOR} == x11
|
||||
CONFIGURE_ARGS+=--with-gtk
|
||||
USE_GNOME= gtk20
|
||||
USES+= gnome
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-gtk
|
||||
.endif
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= traviscross
|
||||
|
||||
CONFLICTS_INSTALL= mtr mtr-nox11
|
||||
|
||||
OPTIONS_DEFINE= IPV6 JSON X11
|
||||
OPTIONS_DEFAULT=JSON X11
|
||||
OPTIONS_DEFINE= IPV6 JSON
|
||||
OPTIONS_DEFAULT=JSON
|
||||
JSON_DESC= JSON support
|
||||
X11_DESC= Build X11-enabled mtr
|
||||
|
||||
IPV6_CONFIGURE_ENABLE= ipv6
|
||||
JSON_CONFIGURE_WITH= jansson
|
||||
JSON_LIB_DEPENDS= libjansson.so:devel/jansson
|
||||
X11_CONFIGURE_WITH= gtk
|
||||
X11_USE= GNOME=gtk20
|
||||
X11_USES= gnome
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG} ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue