aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-08-30 01:45:50 +0000
committerCy Schubert <cy@FreeBSD.org>2023-08-30 01:48:51 +0000
commit54b3112625f87804b8d069e82b31f900758603fb (patch)
treef0a3efb05ef5f75861fa4027a2122b8c8d88c028
parentb85581e4cf83668751fc5c704008c7df75e6e40c (diff)
downloadports-54b3112625f87804b8d069e82b31f900758603fb.tar.gz
ports-54b3112625f87804b8d069e82b31f900758603fb.zip
sysutils/lsof: Fix build for 15-CURRENT
Add support for 15-current in Configure script. Approved by: portmgr (blanket) MFH: 2023Q3
-rw-r--r--sysutils/lsof/files/patch-Configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/lsof/files/patch-Configure b/sysutils/lsof/files/patch-Configure
new file mode 100644
index 000000000000..390a3f07b7bf
--- /dev/null
+++ b/sysutils/lsof/files/patch-Configure
@@ -0,0 +1,14 @@
+--- Configure.orig 2023-01-16 22:42:40.000000000 -0800
++++ Configure 2023-08-29 18:43:40.296306000 -0700
+@@ -1209,6 +1209,11 @@
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=14000
+ ;;
++ 15*)
++ LSOF_CFGL="$LSOF_CFGL -lutil"
++ LSOF_TSTBIGF=" "
++ LSOF_VERS=15000
++ ;;
+ *)
+ echo Unknown FreeBSD release: `uname -r`
+ rm -f $LSOF_HLP