2004-10-03 02:12:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2004/10/03 00:13:30 tv Exp $
|
1999-09-08 09:59:18 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= libsmi-0.1.6
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 1
|
1999-09-08 09:59:18 +02:00
|
|
|
CATEGORIES= devel net
|
|
|
|
MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/
|
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= sakamoto@NetBSD.org
|
1999-09-08 09:59:18 +02:00
|
|
|
HOMEPAGE= http://www.ibr.cs.tu-bs.de/projects/libsmi/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Library to access SMI MIB information
|
1999-09-08 09:59:18 +02:00
|
|
|
|
|
|
|
MIBDIR= ${PREFIX}/share/libsmi/mibs
|
|
|
|
|
2000-08-14 19:45:20 +02:00
|
|
|
USE_LIBTOOL= YES
|
|
|
|
LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig
|
1999-09-08 09:59:18 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+=--with-mibdir="${MIBDIR}"
|
|
|
|
# this might make it easier to use scotty's and ucd-snmp's mibs,
|
|
|
|
# and local ones too
|
|
|
|
CONFIGURE_ARGS+=--with-smipath="${MIBDIR}:${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tnm2.1.8/mibs:/usr/local/share/snmp/mibs"
|
|
|
|
|
2000-09-25 14:47:44 +02:00
|
|
|
# Only for systems that don't have these:
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OS_VERSION:M1.4} || ${OS_VERSION:M1.3} || ${OS_VERSION:M1.2}
|
|
|
|
CPPFLAGS+= -Dstrtoll=strtoq -Dstrtoull=strtouq
|
|
|
|
.endif
|
|
|
|
|
1999-09-08 09:59:18 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|