aboutsummaryrefslogtreecommitdiff
path: root/net/fort/files/patch-configure.ac
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2021-10-27 07:59:54 +0000
committerPhilip Paeps <philip@FreeBSD.org>2021-10-27 07:59:54 +0000
commit9604608f8a2d458e8fbd0acb5fc492972098cc8e (patch)
treeb290993a349494df338573c8bdf3e72838de6d38 /net/fort/files/patch-configure.ac
parentddffa24d1a494a4354d84b553f08f493e0220c11 (diff)
downloadports-9604608f8a2d458e8fbd0acb5fc492972098cc8e.tar.gz
ports-9604608f8a2d458e8fbd0acb5fc492972098cc8e.zip
net/fort: don't depend on gcc10, fix version check
The current version of FORT builds fine with any c11 compiler. There is no need for USE_GCC. Patch the build system to correctly define the version of FORT as seen in the output of "fort --version" and the "User-Agent:" HTTP header. [1] Approved by: Toni Yannick Kalombo <toni@devboks.com> (maintainer) Reported by: Mark Tinka <mark@tinka.africa> [1]
Diffstat (limited to 'net/fort/files/patch-configure.ac')
-rw-r--r--net/fort/files/patch-configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/fort/files/patch-configure.ac b/net/fort/files/patch-configure.ac
new file mode 100644
index 000000000000..36c0f268e1f3
--- /dev/null
+++ b/net/fort/files/patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2021-10-19 22:44:35 UTC
++++ configure.ac
+@@ -2,7 +2,7 @@
+ # Process this file with autoconf to produce a configure script.
+
+ AC_PREREQ([2.69])
+-AC_INIT([fort], [m4_esyscmd_s([git describe --dirty --always --tags])],
++AC_INIT([fort], [%%DISTVERSION%%],
+ [fort-validator@nic.mx])
+ AC_CONFIG_SRCDIR([src/main.c])
+ AM_INIT_AUTOMAKE([subdir-objects])