--- configure.ac.orig	2024-09-27 11:57:52 UTC
+++ configure.ac
@@ -23,7 +23,7 @@ dnl Process this file with autoconf to produce a confi
 # DEALINGS IN THE SOFTWARE.
 
 dnl Process this file with autoconf to produce a configure script
-AC_INIT([BCFtools], m4_esyscmd_s([./version.sh 2>/dev/null]),
+AC_INIT([BCFtools], [@PORTVERSION@],
         [samtools-help@lists.sourceforge.net], [], [http://www.htslib.org/])
 AC_PREREQ([2.63])  dnl This version introduced 4-argument AC_CHECK_HEADER
 AC_CONFIG_SRCDIR([main.c])
