diff options
author | billf <billf@FreeBSD.org> | 1999-09-05 07:30:47 +0800 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-09-05 07:30:47 +0800 |
commit | c61997877b9e7efe6c9015a7b30f2152c9ef186d (patch) | |
tree | 9005628179c25f29bb82e340c998293206b02500 /net-mgmt/net-snmp53/Makefile | |
parent | e2d0d800b550436f10182e36d2187e455fa2072c (diff) | |
download | freebsd-ports-gnome-c61997877b9e7efe6c9015a7b30f2152c9ef186d.tar.gz freebsd-ports-gnome-c61997877b9e7efe6c9015a7b30f2152c9ef186d.tar.zst freebsd-ports-gnome-c61997877b9e7efe6c9015a7b30f2152c9ef186d.zip |
o Bump SHLIB_VERSION to 4 and make this port build it that way.
o Look for perl in the right place (patch-ah)
o Add a typedef that ucd-snmp wants (patch-ag)
o Install headers files with the right permissions
Submitted by: <jack@germanium.xtalwind.net>
PR: ports/13539
----------------------------------------------------------------------
o Remove extraneous HAS_CONFIGURE introduced by nectar in rev1.19
o Use the PATCH_* framework and grab 012.patch from the authors.
Diffstat (limited to 'net-mgmt/net-snmp53/Makefile')
-rw-r--r-- | net-mgmt/net-snmp53/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile index cdc68e003784..82283d4a27ab 100644 --- a/net-mgmt/net-snmp53/Makefile +++ b/net-mgmt/net-snmp53/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 |