summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2002-02-12 10:16:45 +0000
committerskrll <skrll@pkgsrc.org>2002-02-12 10:16:45 +0000
commita3c1ce40ddab618a24803770da079df1fe31fbd4 (patch)
tree415c1b5f8b6aa5289b44c03bf8c88e1e1600c2a7 /net
parent066683472614dd27f1e37a04db2acbf02e904978 (diff)
downloadpkgsrc-a3c1ce40ddab618a24803770da079df1fe31fbd4.tar.gz
Attempt to workaround includes lossage on NetBSD-1.5.[12] that causes
build failures. Tested to compile and install cleanly on -current.
Diffstat (limited to 'net')
-rw-r--r--net/ucd-snmp-current/Makefile5
1 files changed, 4 insertions, 1 deletions
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