summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/yasr/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/accessibility/yasr/Makefile b/accessibility/yasr/Makefile
index bb92a086e924..e9b093734bd9 100644
--- a/accessibility/yasr/Makefile
+++ b/accessibility/yasr/Makefile
@@ -36,6 +36,12 @@ PLIST_FILES= bin/yasr \
%%NLS%%share/locale/fr/LC_MESSAGES/yasr.mo
PLIST_DIRS= %%DATADIR%%
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf
@@ -48,4 +54,4 @@ post-install:
.endif
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>