diff options
author | skrll <skrll> | 2002-02-12 10:16:45 +0000 |
---|---|---|
committer | skrll <skrll> | 2002-02-12 10:16:45 +0000 |
commit | 85fb05af139ae615263f18c08269c4fed8121ac5 (patch) | |
tree | 415c1b5f8b6aa5289b44c03bf8c88e1e1600c2a7 /net | |
parent | 6e90624c476a112b20b0c44b2da081e0fed3ade9 (diff) | |
download | pkgsrc-85fb05af139ae615263f18c08269c4fed8121ac5.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/Makefile | 5 |
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 |