aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-18 20:43:55 +0800
committerkris <kris@FreeBSD.org>2004-03-18 20:43:55 +0800
commit6c6b89a7078ec621fa436eeb4f163ebb5b225519 (patch)
tree8e251587e302225cae64b4ac205f2ff3431cc236
parent950c136847c8ebcc0a719635887835a6867c9232 (diff)
downloadfreebsd-ports-graphics-6c6b89a7078ec621fa436eeb4f163ebb5b225519.tar.gz
freebsd-ports-graphics-6c6b89a7078ec621fa436eeb4f163ebb5b225519.tar.zst
freebsd-ports-graphics-6c6b89a7078ec621fa436eeb4f163ebb5b225519.zip
BROKEN on amd64 and ia64: Missing -fPIC
-rw-r--r--chinese/xsim/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/chinese/xsim/Makefile b/chinese/xsim/Makefile
index 587edc07492..3e3ccdf7644 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>