mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Fix version display
PR: 234474 Submitted by: romain
This commit is contained in:
parent
b3e56ee3be
commit
086b820f0c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489117
@ -19,9 +19,10 @@ OPTIONS_DEFINE= IPV6 X11
|
||||
OPTIONS_DEFAULT=X11
|
||||
X11_DESC= Build X11-enabled mtr
|
||||
|
||||
USES= autoreconf ncurses pkgconfig
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
LDFLAGS+= -lncurses
|
||||
USES= autoreconf ncurses pkgconfig
|
||||
|
||||
IPV6_CATEGORIES= ipv6
|
||||
IPV6_CONFIGURE_ENABLE= ipv6
|
||||
@ -31,6 +32,7 @@ X11_USES= gnome
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|getopt.*$$(OBJEXT)||g; s|getopt.*[ch]||g; /getopt.*Po/d' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|m4_esyscmd(\[build-aux/git-version-gen \.tarball-version\])|${PORTVERSION}|' ${WRKSRC}/configure.ac
|
||||
@${REINPLACE_CMD} -e 's|"getopt\.h"|<getopt.h>|g' ${WRKSRC}/ui/mtr.c
|
||||
|
||||
post-install:
|
||||
|
Loading…
Reference in New Issue
Block a user