aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-03-20 21:25:14 +0800
committermiwi <miwi@FreeBSD.org>2010-03-20 21:25:14 +0800
commit2f1e207f7ac3b7a583004db25bbc29ad770a6d79 (patch)
tree2f042cfa59dbfa8d08de931945e08196a504cf33 /chinese
parentea4dc1628a54fadcee395468134838e6c54b5380 (diff)
downloadfreebsd-ports-gnome-2f1e207f7ac3b7a583004db25bbc29ad770a6d79.tar.gz
freebsd-ports-gnome-2f1e207f7ac3b7a583004db25bbc29ad770a6d79.tar.zst
freebsd-ports-gnome-2f1e207f7ac3b7a583004db25bbc29ad770a6d79.zip
- Mark BROKEN: fails to build with new utmpx
Reported by: pointyhat
Diffstat (limited to 'chinese')
-rw-r--r--chinese/big5con/Makefile8
-rw-r--r--chinese/cxterm/Makefile4
-rw-r--r--chinese/hztty/Makefile8
-rw-r--r--chinese/pcmanx/Makefile8
4 files changed, 25 insertions, 3 deletions
diff --git a/chinese/big5con/Makefile b/chinese/big5con/Makefile
index c07351449ef8..d7520a6d5707 100644
--- a/chinese/big5con/Makefile
+++ b/chinese/big5con/Makefile
@@ -15,6 +15,12 @@ COMMENT= Big5 Chinese console
ONLY_FOR_ARCHS= i386
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/*c
@${REINPLACE_CMD} -e 's,GetShmem(),GetShmem(char),g' ${WRKSRC}/src/fnld.c
@@ -24,4 +30,4 @@ post-patch:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/chinese/cxterm/Makefile b/chinese/cxterm/Makefile
index 71d032bef544..24430e22a000 100644
--- a/chinese/cxterm/Makefile
+++ b/chinese/cxterm/Makefile
@@ -47,6 +47,10 @@ MAKE_JOBS_UNSAFE= yes
BROKEN= Coredump during build on ia64
.endif
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/CXterm.sh ${PREFIX}/bin/CXterm
# standard X11 place
diff --git a/chinese/hztty/Makefile b/chinese/hztty/Makefile
index 1f4593da9c07..154ae19e991f 100644
--- a/chinese/hztty/Makefile
+++ b/chinese/hztty/Makefile
@@ -17,8 +17,14 @@ ALL_TARGET= bsd
MAN1= hztty.1
PLIST_FILES= bin/hztty
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hztty ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/hztty.1 ${PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/chinese/pcmanx/Makefile b/chinese/pcmanx/Makefile
index e74e8717266c..b9fd2e4d5278 100644
--- a/chinese/pcmanx/Makefile
+++ b/chinese/pcmanx/Makefile
@@ -25,6 +25,12 @@ USE_LDCONFIG= yes
OPTIONS= WGET "enable wget support for download articles" on
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
.if !defined(WITHOUT_WGET)
RUN_DEPENDS+= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
CONFIGURE_ARGS+=--enable-wget
@@ -51,4 +57,4 @@ post-extract:
@${REINPLACE_CMD} -e '136 s/, \(.*\)/,1\);/' \
${WRKSRC}/src/view/telnetview.cpp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>