diff options
author | Bill Fumerola <billf@FreeBSD.org> | 1999-09-04 23:30:47 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 1999-09-04 23:30:47 +0000 |
commit | db60f873fb7d6154a31b06bfb445bd0ef1c25faf (patch) | |
tree | ebebe1c2959a46e7e05e96157ac55d509ef1d76e /net/net-snmp4/Makefile | |
parent | 93c4a3203cdf4176b2b2f5954891721ca791e689 (diff) |
Notes
Diffstat (limited to 'net/net-snmp4/Makefile')
-rw-r--r-- | net/net-snmp4/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile index cdc68e003784..82283d4a27ab 100644 --- a/net/net-snmp4/Makefile +++ b/net/net-snmp4/Makefile @@ -11,12 +11,14 @@ CATEGORIES= net MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/ +PATCH_SITES= http://ucd-snmp.ucdavis.edu/patches/ +PATCHFILES= 012.patch +PATCH_DIST_STRIP= -p0 -d ${WRKSRC}/agent MAINTAINER= gpalmer@FreeBSD.org CONFIGURE_ARGS= --enable-shared -USE_CONFIGURE= YES GNU_CONFIGURE= YES .if defined(BATCH) CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where @@ -47,16 +49,18 @@ BROKEN= "aout build breaks: ld: internal error: RRS relocs exceed allocation 34 BROKEN= "Uses the old VM system interfaces" .endif -SHLIB_VERSION=3 +SHLIB_VERSION=4 PLIST_SUB= shlib=${SHLIB_VERSION} post-patch: @${CP} ${FILESDIR}/freebsd4.h ${WRKSRC}/s post-install: - ( cd ${PREFIX}/bin && strip ${BIN} ) - ( cd ${PREFIX}/sbin && strip ${SBIN} ) - ( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so ) + @( cd ${PREFIX}/bin && strip ${BIN} ) + @( cd ${PREFIX}/sbin && strip ${SBIN} ) + @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) + @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * ) + @( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so ) @${MKDIR} ${PREFIX}/share/examples/ucd-snmp @for F in ${WRKSRC}/etc/* ; do \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done |