Fix default pkgconfig version to have no spaces (#2308)

This commit is contained in:
Wilson Snyder 2020-05-05 08:46:24 -04:00
parent 7d7e67b49b
commit 0fcc7f2987
2 changed files with 4 additions and 1 deletions

View File

@ -16,7 +16,10 @@ AC_INIT([Verilator],[4.035 devel],
AC_CONFIG_HEADER(src/config_build.h)
AC_CONFIG_FILES(Makefile docs/Makefile src/Makefile src/Makefile_obj include/verilated.mk include/verilated_config.h verilator.pc verilator-config.cmake verilator-config-version.cmake)
# Version
AC_MSG_RESULT([configuring for $PACKAGE_STRING])
PACKAGE_VERSION_NUMBER=`AS_ECHO("$PACKAGE_VERSION") | sed 's/ .*//g'`
AC_SUBST(PACKAGE_VERSION_NUMBER)
# Ignore automake flags passed by Ubuntu builds
AC_ARG_ENABLE([dependency-tracking],

View File

@ -7,7 +7,7 @@ includedir=@pkgdatadir@/include
Name: verilator
Description: fast free Verilog simulator
URL: https://verilator.org
Version: @PACKAGE_VERSION@
Version: @PACKAGE_VERSION_NUMBER@
Requires:
Libs:
Cflags: -I${includedir} -I${includedir}/vltstd