aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2012-09-26 02:30:38 +0800
committerbeat <beat@FreeBSD.org>2012-09-26 02:30:38 +0800
commit37d06fc1e4919a7f3a12afce8321840a0815c36c (patch)
treed4505d8bf2bb9c8f544aef86a067432dadfb325a /sysutils
parent453708a7e6c48968ae09765733ccf38fc4fcbd1d (diff)
downloadfreebsd-ports-gnome-37d06fc1e4919a7f3a12afce8321840a0815c36c.tar.gz
freebsd-ports-gnome-37d06fc1e4919a7f3a12afce8321840a0815c36c.tar.zst
freebsd-ports-gnome-37d06fc1e4919a7f3a12afce8321840a0815c36c.zip
- Mark BROKEN on FreeBSD 7.x: does not compile
error: 'MNT_NFS4ACLS' undeclared Reported by: pointyhat
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-psutil/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/py-psutil/Makefile b/sysutils/py-psutil/Makefile
index 43d990bee5c4..3a6bf2717297 100644
--- a/sysutils/py-psutil/Makefile
+++ b/sysutils/py-psutil/Makefile
@@ -18,7 +18,13 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= ${PORTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800000
+BROKEN= does not compile on FreeBSD 7.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|setuptools|distutils.core|' ${WRKSRC}/${PYSETUP}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>