aboutsummaryrefslogtreecommitdiff
path: root/chinese/chinput3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/chinput3/Makefile')
-rw-r--r--chinese/chinput3/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/chinese/chinput3/Makefile b/chinese/chinput3/Makefile
index 043a9ab7f1c9..2e68863e126f 100644
--- a/chinese/chinput3/Makefile
+++ b/chinese/chinput3/Makefile
@@ -28,6 +28,10 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
BROKEN= "Does not compile on FreeBSD-4.x/Alpha"
.endif
+.if ${ARCH} == "amd64"
+BROKEN= "Does not compile on amd64 (needs -fPIC)"
+.endif
+
pre-build:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
-e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|'