| @@ -1,38 +1,41 @@ | | | @@ -1,38 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.92 2012/10/23 17:18:40 asau Exp $ | | 1 | # $NetBSD: Makefile,v 1.93 2012/12/22 11:23:59 tron Exp $ |
2 | | | 2 | |
3 | DISTNAME= net-snmp-5.6.1.1 | | 3 | DISTNAME= net-snmp-5.6.1.1 |
4 | PKGREVISION= 4 | | 4 | PKGREVISION= 5 |
5 | CATEGORIES= net | | 5 | CATEGORIES= net |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/} | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/} |
7 | | | 7 | |
8 | MAINTAINER= adam@NetBSD.org | | 8 | MAINTAINER= adam@NetBSD.org |
9 | HOMEPAGE= http://www.net-snmp.org/ | | 9 | HOMEPAGE= http://www.net-snmp.org/ |
10 | COMMENT= Extensible SNMP implementation | | 10 | COMMENT= Extensible SNMP implementation |
11 | LICENSE= modified-bsd | | 11 | LICENSE= modified-bsd |
12 | | | 12 | |
13 | CONFLICTS= ucd-snmp-[0-9]* | | 13 | CONFLICTS= ucd-snmp-[0-9]* |
14 | CONFLICTS+= nocol-[0-9]* # bin/snmpget bin/snmpwalk | | 14 | CONFLICTS+= nocol-[0-9]* # bin/snmpget bin/snmpwalk |
15 | | | 15 | |
16 | USE_LIBTOOL= yes | | 16 | USE_LIBTOOL= yes |
17 | GNU_CONFIGURE= yes | | 17 | GNU_CONFIGURE= yes |
18 | | | 18 | |
19 | MAKE_ENV+= OPSYS=${OPSYS} | | 19 | MAKE_ENV+= OPSYS=${OPSYS} |
20 | MAKE_JOBS_SAFE= no | | 20 | MAKE_JOBS_SAFE= no |
21 | | | 21 | |
22 | .include "../../mk/bsd.prefs.mk" | | 22 | .include "../../mk/bsd.prefs.mk" |
23 | | | 23 | |
24 | .include "options.mk" | | 24 | .include "options.mk" |
25 | | | 25 | |
| | | 26 | # Don't compress manual pages as they include each other. |
| | | 27 | .undef MANZ |
| | | 28 | |
26 | .if ${OPSYS} == "DragonFly" | | 29 | .if ${OPSYS} == "DragonFly" |
27 | MAKE_ENV+= MIB_SYSTEM_LIBS=-lkinfo | | 30 | MAKE_ENV+= MIB_SYSTEM_LIBS=-lkinfo |
28 | .endif | | 31 | .endif |
29 | | | 32 | |
30 | .if ${OPSYS} == "NetBSD" | | 33 | .if ${OPSYS} == "NetBSD" |
31 | OSVERSION_SPECIFIC= YES | | 34 | OSVERSION_SPECIFIC= YES |
32 | . if empty(CFLAGS:U:M*-Dnetbsd1*) | | 35 | . if empty(CFLAGS:U:M*-Dnetbsd1*) |
33 | CFLAGS+= -Dnetbsd1 | | 36 | CFLAGS+= -Dnetbsd1 |
34 | . endif | | 37 | . endif |
35 | .endif | | 38 | .endif |
36 | | | 39 | |
37 | .if (${OPSYS} == "NetBSD") || !exists(/usr/bin/lpstat) | | 40 | .if (${OPSYS} == "NetBSD") || !exists(/usr/bin/lpstat) |
38 | CONFIGURE_ENV+= ac_cv_path_LPSTAT_PATH=no | | 41 | CONFIGURE_ENV+= ac_cv_path_LPSTAT_PATH=no |