summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-09-12 08:21:39 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-09-12 08:21:39 +0000
commitfec0752630bbd161c52e874c0aebcd16bc91def9 (patch)
tree87ca8d49dd68496d941c9492396431e771d5f4b0
parent- Attempt to fix build on FreeBSD 4.X (diff)
- Mark BROKEN on FreeBSD 4.X: does not compile
Reported by: krismail
-rw-r--r--math/py-numpy/Makefile4
-rw-r--r--security/pam_abl/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile
index c3e960e03ff2..ef6c8cb0292d 100644
--- a/math/py-numpy/Makefile
+++ b/math/py-numpy/Makefile
@@ -27,6 +27,10 @@ USE_PYDISTUTILS=yes
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
+BROKEN= does not compile
+.endif
+
pre-fetch:
.if ${PYTHON_REL} < 200
@${ECHO} "Py-numpy doesn't work with Python versions < 2.0."
diff --git a/security/pam_abl/Makefile b/security/pam_abl/Makefile
index 8a3f49e0c20c..57b1052516e1 100644
--- a/security/pam_abl/Makefile
+++ b/security/pam_abl/Makefile
@@ -48,6 +48,10 @@ SED_SCRIPT= -e 's|<db.h>|<${BDB_INCLUDE_DIR}/db.h>|' \
-e 's|%%ETCPREFIX%%|${ETCPREFIX}|' \
-e 's|%%PAMABLDB%%|${PAMABLDB}|'
+.if ${OSVERSION} < 500000
+BROKEN= does not compile
+.endif
+
post-patch:
.for file in Makefile pam_abl.h conf/pam_abl.conf conf/system-auth doc/index.html doc/pam_abl.html tools/Makefile
@${REINPLACE_CMD} ${SED_SCRIPT} ${WRKSRC}/${file}