Date: Fri, 24 Nov 2023 15:43:31 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275294] extproc/jq: jq --version shows no version Message-ID: <bug-275294-7788-NS2TcKiYE6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275294-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-275294-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275294 --- Comment #2 from Michael Osipov <michaelo@FreeBSD.org> --- Here is the problem: # grep -r JQ_VERSION . ./Makefile.in:generate_ver =3D ver=3D"`{ $(srcdir)/scripts/version || echo '$(VERSION)' ; } | sed 's/.*/\#define JQ_VERSION \"&\"/'`" ./Makefile:generate_ver =3D ver=3D"`{ $(srcdir)/scripts/version || echo '$(VERSION)' ; } | sed 's/.*/\#define JQ_VERSION \"&\"/'`" ./Makefile.am:generate_ver =3D ver=3D"`{ $(srcdir)/scripts/version || echo '$(VERSION)' ; } | sed 's/.*/\#define JQ_VERSION \"&\"/'`" ./src/version.h:#define JQ_VERSION "" ./src/main.c: JQ_VERSION, progname, progname, progname); ./src/main.c: printf("jq-%s\n", JQ_VERSION); The JQ_VERSION macro is empty when version.h is built. Let me check why... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275294-7788-NS2TcKiYE6>