pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libsmi Fix serious problems in this package:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e88df7df25c5
branches:  trunk
changeset: 544145:e88df7df25c5
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Jul 13 14:47:24 2008 +0000

description:
Fix serious problems in this package:
- Remove build fixes for NetBSD 1.2, 1.3 and 1.4 which were applied on
  every platform.
- Don't overwrite the default MIBS search path. It breaks the package if
  the "net-snmp" package is not installed. It best case it introduces
  random behaviour if either the "net-snmp" or the "scotty" package
  are installed.
Bump package revision because of these fixes.

Approved by Thomas Klausner.

diffstat:

 devel/libsmi/Makefile |  14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diffs (37 lines):

diff -r bf4265f74367 -r e88df7df25c5 devel/libsmi/Makefile
--- a/devel/libsmi/Makefile     Sun Jul 13 14:40:06 2008 +0000
+++ b/devel/libsmi/Makefile     Sun Jul 13 14:47:24 2008 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2006/11/10 20:15:17 rillig Exp $
-#
+# $NetBSD: Makefile,v 1.14 2008/07/13 14:47:24 tron Exp $
 
 DISTNAME=      libsmi-0.4.5
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel net
 MASTER_SITES=  ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/
 
@@ -20,9 +19,6 @@
 GNU_CONFIGURE= YES
 CONFIGURE_ARGS+=--with-mibdir=${MIBDIR:Q}
 CONFIGURE_ARGS+=--with-pibdir=${PIBDIR:Q}
-# 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"
 CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}
 
 REPLACE_SH+=   tools/smicache.in
@@ -31,12 +27,6 @@
 
 TEST_TARGET=   check
 
-# 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
-
 post-extract:
        rm -f ${WRKSRC}/test/smilint-smiv2.test
 



Home | Main Index | Thread Index | Old Index