From 79bfa0edff7cd51726bcb8cda30628cfafc41d13 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Tue, 22 Jul 2003 02:35:37 +0000 Subject: [PATCH] Utilize ONLY_FOR_ARCHS PR: 53455 Submitted by: Mark Linimon --- devel/py-ctypes/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/devel/py-ctypes/Makefile b/devel/py-ctypes/Makefile index 7cdaac53d35b..b0f9cbb6ec5d 100644 --- a/devel/py-ctypes/Makefile +++ b/devel/py-ctypes/Makefile @@ -30,11 +30,9 @@ LIBFFIWRKSRC= ${WRKDIR}/libffi-${LIBFFIVERSION} CONFIGURE_ARGS= --enable-static --disable-shared CONFIGURE_WRKSRC=${LIBFFIWRKSRC} -.include +ONLY_FOR_ARCHS= i386 alpha powerpc -.if ${ARCH} == "ia64" -BROKEN= "does not build" -.endif +.include post-patch: ${LN} -sf ${LIBFFIWRKSRC}/config-ml.in ${LIBFFIWRKSRC}/.. @@ -44,7 +42,7 @@ post-patch: "ffi_type_sint8"), ("ffi_type_sshort","ffi_type_sint16")],|' \ ${WRKSRC}/setup.py ${REINPLACE_CMD} -e 's,\(alpha\*-.*-osf.*\)),\1 | alpha*-*-freebsd*),' \ - ${LIBFFIWRKSRC}/configure + ${LIBFFIWRKSRC}/configure .if ${ARCH} == "ia64" ${LN} -sf ${LIBFFIWRKSRC}/${ARCH}/${ARCH}_flags.h ${LIBFFIWRKSRC}/ ${REINPLACE_CMD} -e 's|defined(IA64)|defined(__ia64__)|' \