aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-03-20 22:53:50 +0800
committermiwi <miwi@FreeBSD.org>2010-03-20 22:53:50 +0800
commitf487e718b331a6c3534cd11e64891b67840291bd (patch)
tree70bb43a301e90d7f32a21d8b12112a469fd3c0b7 /shells
parent8f8385125ddfcf06ce4371ad8f512aeeedb0bccb (diff)
downloadfreebsd-ports-gnome-f487e718b331a6c3534cd11e64891b67840291bd.tar.gz
freebsd-ports-gnome-f487e718b331a6c3534cd11e64891b67840291bd.tar.zst
freebsd-ports-gnome-f487e718b331a6c3534cd11e64891b67840291bd.zip
- Mark BROKEN on HEAD: fails to build with new utmpx
Reported by: pointyhat
Diffstat (limited to 'shells')
-rw-r--r--shells/wapsh/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/shells/wapsh/Makefile b/shells/wapsh/Makefile
index 70660063c805..b296fb13f0ed 100644
--- a/shells/wapsh/Makefile
+++ b/shells/wapsh/Makefile
@@ -42,6 +42,12 @@ HTDOCS= command.php command_html.inc command_wml.inc \
login_html.php login_wml.php scroll_wml.php \
shortcuts_wml.php index.html
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
post-patch:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/htshd/htshd.c > ${WRKDIR}/foo && \
${MV} ${WRKDIR}/foo ${WRKSRC}/htshd/htshd.c
@@ -105,4 +111,4 @@ post-install:
@(${GREP} -v ^htsh /etc/services.bak; ${ECHO_CMD} "htsh 3001/tcp # htsh/wapsh server") > /etc/services
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>