Date: Wed, 08 Mar 2006 14:53:28 +0100 From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Harti Brandt <harti@freebsd.org> Cc: deischen@freebsd.org, current@freebsd.org Subject: Re: When will bsnmp stop breaking -current builds Message-ID: <86bqwh59gn.fsf@xps.des.no> In-Reply-To: <20060308085714.L10582@beagle.kn.op.dlr.de> (Harti Brandt's message of "Wed, 8 Mar 2006 09:02:38 %2B0100 (CET)") References: <Pine.GSO.4.43.0603071646040.8396-100000@sea.ntplx.net> <20060308085714.L10582@beagle.kn.op.dlr.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Harti Brandt <hartmut.brandt@dlr.de> writes:
> You seem to be the only one having this problem, so this looks like
> a problem on your side.
Far from it. I had the same problem, and solved it by adding a
NO_BSNMP knob (see attached patch).
The deeper problem is that gensnmptree is a build tool, but isn't
treated as such by the build system, so cross-builds and source
updates from older versions are broken.
DES
--
Dag-Erling Smørgrav - des@des.no
[-- Attachment #2 --]
Index: lib/Makefile
===================================================================
RCS file: /home/ncvs/src/lib/Makefile,v
retrieving revision 1.211
diff -u -r1.211 Makefile
--- lib/Makefile 2 Feb 2006 10:05:39 -0000 1.211
+++ lib/Makefile 8 Mar 2006 00:02:43 -0000
@@ -25,7 +25,7 @@
SUBDIR= ${_csu} libbsm libcom_err libcrypt libkvm msun libmd libncurses \
libnetgraph libradius librpcsvc libsbuf libtacplus libutil \
${_libypclnt} libalias libarchive ${_libatm} \
- libbegemot ${_libbluetooth} libbsnmp libbz2 libc ${_libc_r} \
+ libbegemot ${_libbluetooth} ${_libbsnmp} libbz2 libc ${_libc_r} \
libcalendar libcam libcompat libdevinfo libdevstat libdisk \
libedit libexpat libfetch libform libftpio libgeom ${_libgpib} \
libgssapi ${_libio} libipsec \
@@ -57,6 +57,10 @@
_libsdp= libsdp
.endif
+.if !defined(NO_BSNMP)
+_libbsnmp= libbsnmp
+.endif
+
.if ${MACHINE_ARCH} == "i386"
_libncp= libncp
_libsmb= libsmb
Index: usr.sbin/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/Makefile,v
retrieving revision 1.346
diff -u -r1.346 Makefile
--- usr.sbin/Makefile 27 Feb 2006 16:17:25 -0000 1.346
+++ usr.sbin/Makefile 8 Mar 2006 00:03:42 -0000
@@ -22,7 +22,7 @@
${_boot0cfg} \
${_boot98cfg} \
bootparamd \
- bsnmpd \
+ ${_bsnmpd} \
${_btxld} \
burncd \
cdcontrol \
@@ -225,6 +225,10 @@
_bluetooth= bluetooth
.endif
+.if !defined(NO_BSNMP)
+_bsnmpd= bsnmpd
+.endif
+
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
_keyserv= keyserv
.endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bqwh59gn.fsf>
