From 4ac5b0cc316bc5dba827b66ecc0d748ca8f0cf5b Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sat, 17 Mar 2007 21:57:53 +0000 Subject: [PATCH] Fix build after objformat removal and on !i386 --- devel/libopensync/Makefile | 9 ++++----- devel/libopensync022/Makefile | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/devel/libopensync/Makefile b/devel/libopensync/Makefile index 9e1e57c97d6d..89d839015952 100644 --- a/devel/libopensync/Makefile +++ b/devel/libopensync/Makefile @@ -30,11 +30,7 @@ INSTALLS_SHLIB= yes .include .if ${OSVERSION} < 500000 -BROKEN= "Does not build on FreeBSD 4.x" -.endif - -.if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" +BROKEN= Does not build on FreeBSD 4.x .endif pre-everything:: @@ -46,5 +42,8 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/opensync/Makefile.in \ + ${WRKSRC}/osengine/Makefile.in + ${REINPLACE_CMD} -e "s,echo aout, echo elf,g" ${WRKSRC}/configure .include diff --git a/devel/libopensync022/Makefile b/devel/libopensync022/Makefile index 9e1e57c97d6d..89d839015952 100644 --- a/devel/libopensync022/Makefile +++ b/devel/libopensync022/Makefile @@ -30,11 +30,7 @@ INSTALLS_SHLIB= yes .include .if ${OSVERSION} < 500000 -BROKEN= "Does not build on FreeBSD 4.x" -.endif - -.if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" +BROKEN= Does not build on FreeBSD 4.x .endif pre-everything:: @@ -46,5 +42,8 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/opensync/Makefile.in \ + ${WRKSRC}/osengine/Makefile.in + ${REINPLACE_CMD} -e "s,echo aout, echo elf,g" ${WRKSRC}/configure .include