aboutsummaryrefslogtreecommitdiff
path: root/chinese/xsim
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-18 12:43:55 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-18 12:43:55 +0000
commit22595865dbdf22a96edbb1a26e1b6783a899f33f (patch)
tree1b67951f0ba087582597c0bfe2eaf45449f9613a /chinese/xsim
parentb81c46f5ad777e64d3d03fbf4aeb8a2386eab348 (diff)
downloadports-22595865dbdf22a96edbb1a26e1b6783a899f33f.tar.gz
ports-22595865dbdf22a96edbb1a26e1b6783a899f33f.zip
Notes
Diffstat (limited to 'chinese/xsim')
-rw-r--r--chinese/xsim/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/chinese/xsim/Makefile b/chinese/xsim/Makefile
index 587edc074928..3e3ccdf76449 100644
--- a/chinese/xsim/Makefile
+++ b/chinese/xsim/Makefile
@@ -23,6 +23,12 @@ USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-cn-locale=EUC
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+BROKEN= "Does not compile on amd64 or ia64 (missing -fPIC)"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/xsim/IMdkit/IMConn.c
@@ -35,4 +41,4 @@ post-install:
@${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat
@${SED} -e 's,%%X11BASE%%,${X11BASE},g' < ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>