1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

Add two build fixes for ia64 but still does not build for this:

t-asm.S:111: Error: Operand 3 of `cmp.eq' should be a general register

So, mark BROKEN for ia64.
This commit is contained in:
Hye-Shik Chang 2003-05-16 03:31:46 +00:00
parent 0f24275cdd
commit 2a50e4e47c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81072

View File

@ -30,6 +30,12 @@ LIBFFIWRKSRC= ${WRKDIR}/libffi-${LIBFFIVERSION}
CONFIGURE_ARGS= --enable-static --disable-shared
CONFIGURE_WRKSRC=${LIBFFIWRKSRC}
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= "does not build"
.endif
post-patch:
${LN} -sf ${LIBFFIWRKSRC}/config-ml.in ${LIBFFIWRKSRC}/..
${REINPLACE_CMD} -e 's|\(include_dirs = \).*|\1["${LIBFFIWRKSRC}/include"]|' \
@ -37,8 +43,13 @@ post-patch:
-e 's|\(Extension(.*\)$$|\1 define_macros=[("ffi_type_schar", \
"ffi_type_sint8"), ("ffi_type_sshort","ffi_type_sint16")],|' \
${WRKSRC}/setup.py
.if ${ARCH} == "ia64"
${LN} -sf ${LIBFFIWRKSRC}/${ARCH}/${ARCH}_flags.h ${LIBFFIWRKSRC}/
${REINPLACE_CMD} -e 's|defined(IA64)|defined(__ia64__)|' \
${LIBFFIWRKSRC}/include/ffi.h
.endif
pre-build:
cd ${LIBFFIWRKSRC}; ${MAKE_ENV} ${GMAKE}
.include <bsd.port.mk>
.include <bsd.port.post.mk>