Skip to content

Commit

Permalink
source-highlight: autoreconf to update libtool
Browse files Browse the repository at this point in the history
  • Loading branch information
jmroot committed Mar 21, 2018
1 parent 6d0b77b commit 17ff20b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions textproc/source-highlight/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,8 @@ master_sites gnu:src-highlite
checksums rmd160 a6e0ad1713deb2056984a97adc7dfd0e6610809f \
sha256 01336a7ea1d1ccc374201f7b81ffa94d0aecb33afc7d6903ebf9fbf33a55ada3

# Make sure that the port does not link against system libstdc++.
# libtool strips unknown flags in link mode, c.f.,
# https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html
if {[string match *clang* ${configure.compiler}]} {
configure.ldflags-append -Wc,-stdlib=${configure.cxx_stdlib}
}
# bundled libtool version doesn't recognise -stdlib
use_autoreconf yes

configure.args --infodir=${prefix}/share/info \
--mandir=${prefix}/share/man \
Expand Down

0 comments on commit 17ff20b

Please sign in to comment.