aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/su2
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/su2')
-rw-r--r--sysutils/su2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/su2/Makefile b/sysutils/su2/Makefile
index 09b46914874d..c2d265f2821e 100644
--- a/sysutils/su2/Makefile
+++ b/sysutils/su2/Makefile
@@ -18,7 +18,13 @@ NO_CDROM= "Don't sell for profit"
MAN1= su2.1
PLIST_FILES= bin/su2
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's,/etc/super,${PREFIX}/etc/super,g' ${WRKSRC}/su2.man
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>