Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2023 08:29:50 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f42664108833 - main - net-mgmt/net-snmp: Fix ports depending on this port under 15-CURRENT
Message-ID:  <202309050829.3858To7L082343@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f42664108833fc6a003661fd8d411dc1bc487f61

commit f42664108833fc6a003661fd8d411dc1bc487f61
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-09-05 08:21:42 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-09-05 08:25:54 +0000

    net-mgmt/net-snmp: Fix ports depending on this port under 15-CURRENT
    
    Also add freebsd15.h to ${LOCALBASE}/include/net-snmp/system, missing
    in 710a64c4471d. ${LOCALBASE}/include/net-snmp/system/freebsd15.h is
    used by ports which depend on net-mgmt/net-snmp. Without this file
    they also fail to build under 15-CURRENT.
    
    Approved by:    portmgr (blanket)
    Fixes:          710a64c4471d
---
 net-mgmt/net-snmp/Makefile                |  2 +-
 net-mgmt/net-snmp/files/patch-Makefile.in | 15 ++++++++++++---
 net-mgmt/net-snmp/pkg-plist               |  1 +
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 7d4ceceac19f..eacbe131304b 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	snmp
 PORTVERSION=	5.9.1
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} \
diff --git a/net-mgmt/net-snmp/files/patch-Makefile.in b/net-mgmt/net-snmp/files/patch-Makefile.in
index f52bdf80ad44..db474f4c3309 100644
--- a/net-mgmt/net-snmp/files/patch-Makefile.in
+++ b/net-mgmt/net-snmp/files/patch-Makefile.in
@@ -1,6 +1,15 @@
---- Makefile.in.orig	2020-08-14 21:41:47 UTC
-+++ Makefile.in
-@@ -235,7 +235,7 @@ pythonmodules: subdirs
+--- Makefile.in.orig	2021-05-25 15:19:35.000000000 -0700
++++ Makefile.in	2023-09-05 01:13:06.391986000 -0700
+@@ -21,7 +21,7 @@
+ 	darwin.h dragonfly.h dynix.h \
+ 	freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h \
+ 	freebsd7.h freebsd8.h freebsd9.h freebsd10.h freebsd11.h \
+-	freebsd12.h freebsd13.h freebsd14.h freebsd.h \
++	freebsd12.h freebsd13.h freebsd14.h freebsd15.h freebsd.h \
+ 	generic.h \
+ 	hpux.h irix.h kfreebsd.h linux.h mingw32.h mingw32msvc.h mips.h \
+ 	netbsd.h nto-qnx6.h osf5.h \
+@@ -234,7 +234,7 @@
          fi
  
  pythoninstall:
diff --git a/net-mgmt/net-snmp/pkg-plist b/net-mgmt/net-snmp/pkg-plist
index e209b917a38c..421aa615444c 100644
--- a/net-mgmt/net-snmp/pkg-plist
+++ b/net-mgmt/net-snmp/pkg-plist
@@ -198,6 +198,7 @@ include/net-snmp/system/freebsd11.h
 include/net-snmp/system/freebsd12.h
 include/net-snmp/system/freebsd13.h
 include/net-snmp/system/freebsd14.h
+include/net-snmp/system/freebsd15.h
 include/net-snmp/system/generic.h
 include/net-snmp/system/hpux.h
 include/net-snmp/system/irix.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309050829.3858To7L082343>