pkgsrc/net/php3-snmp/Makefile
fredb 0cab25b605 In ucd-snmp's shared libraries, the SONAME is the filename, which contains
the version of ucd-snmp. Therefore, adjust the wildcard dependencies in
dependents to match exactly (barring "nb" version changes), and bump the
dependent's "nb" versions to reflect the change in dependencies. Otherwise,
an "ethereal" binary package (for example) built against ucd-snmp-4.2.4
will happily install against ucd-snmp-4.2.3nb1, but will fail at run-time
with, ``shared object "libucdsnmp-0.4.2.3.so" not found.''
2002-04-20 18:46:06 +00:00

17 lines
421 B
Makefile

# $NetBSD: Makefile,v 1.2 2002/04/20 18:46:08 fredb Exp $
MODNAME= snmp
CATEGORIES+= net
PKGREVISION= 1
COMMENT= PHP3 extension for SNMP database access
.include "../../www/php3/Makefile.module"
DEPENDS+= ucd-snmp-4.2.4*:../../net/ucd-snmp
CONFIGURE_ARGS+= --with-snmp=${LOCALBASE}
MOD_CPPFLAGS+= -I${LOCALBASE}/include/ucd-snmp
MOD_CPPFLAGS+= -I${WRKSRC}/dl
MOD_LIBS+= -lsnmp
.include "../../mk/bsd.pkg.mk"