Skip to content

Commit

Permalink
mtr 0.92: fix version string
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamschula committed Jun 10, 2018
1 parent f77eedb commit 759cdf2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion net/mtr/Portfile
Expand Up @@ -4,6 +4,7 @@ PortSystem 1.0

name mtr
version 0.92
revision 1
categories net
platforms darwin
license GPL-2
Expand All @@ -27,7 +28,8 @@ depends_lib port:ncurses

master_sites ftp://ftp.bitwizard.nl/mtr/
checksums rmd160 7a697e13abfb12e50af43c6d493098dc0a7fe803 \
sha256 f2979db9e2f41aa8e6574e7771767c9afe111d9213814eb47f5e1e71876e4382
sha256 f2979db9e2f41aa8e6574e7771767c9afe111d9213814eb47f5e1e71876e4382 \
size 296430

configure.args --without-gtk
pre-configure {
Expand All @@ -36,6 +38,9 @@ pre-configure {
# Re-generating requires an autoconf dependency, so let's avoid it,
# especially since the file does not change.
file mtime ${worksrcpath}/config.h.in [file mtime ${worksrcpath}/aclocal.m4]

# Fix version string
reinplace "s|0.91.1-4c982|0.92|" ${worksrcpath}/configure
}

post-destroot {
Expand Down

0 comments on commit 759cdf2

Please sign in to comment.