From 85fb05af139ae615263f18c08269c4fed8121ac5 Mon Sep 17 00:00:00 2001 From: skrll Date: Tue, 12 Feb 2002 10:16:45 +0000 Subject: Attempt to workaround includes lossage on NetBSD-1.5.[12] that causes build failures. Tested to compile and install cleanly on -current. --- net/ucd-snmp-current/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'net') diff --git a/net/ucd-snmp-current/Makefile b/net/ucd-snmp-current/Makefile index 8a79f0c5e09..8f7d0aa962f 100644 --- a/net/ucd-snmp-current/Makefile +++ b/net/ucd-snmp-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2002/01/11 06:42:35 itojun Exp $ +# $NetBSD: Makefile,v 1.17 2002/02/12 10:16:45 skrll Exp $ DISTNAME= ucd-snmp-4.2.3 CATEGORIES= net @@ -73,6 +73,9 @@ post-install: .if (${OPSYS} == "NetBSD") CFLAGS+= -Dnetbsd1 +.if (${OS_VERSION:M1.5.[12]*} != "") +CFLAGS+= -D__HAVE_OLD_DISKLABEL +.endif .endif .include "../../security/openssl/buildlink.mk" # USE_SSL= yes -- cgit v1.2.3