aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/snmp++
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-09 00:35:21 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-09 00:35:21 +0000
commite089d895e007279594cedd5d9e2542af98f5fa0e (patch)
tree4887d6d64a775feb0d4149352550d18faecdc27a /net-mgmt/snmp++
parent070903661b5c0c340ab04b21bcafeec301d4b167 (diff)
downloadports-e089d895e007279594cedd5d9e2542af98f5fa0e.tar.gz
ports-e089d895e007279594cedd5d9e2542af98f5fa0e.zip
Notes
Diffstat (limited to 'net-mgmt/snmp++')
-rw-r--r--net-mgmt/snmp++/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-mgmt/snmp++/Makefile b/net-mgmt/snmp++/Makefile
index b5a7abb5d5c3..a8565da56bd6 100644
--- a/net-mgmt/snmp++/Makefile
+++ b/net-mgmt/snmp++/Makefile
@@ -7,6 +7,7 @@
PORTNAME= snmp++
PORTVERSION= 3.2.22
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.agentpp.com/
DISTNAME= ${PORTNAME}v${PORTVERSION}
@@ -23,4 +24,10 @@ USE_LDCONFIG= yes
post-extract:
${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000
+IGNORE= does not work on FreeBSD < 6 because of absence of gethostbyname_r
+.endif
+
+.include <bsd.port.post.mk>