summaryrefslogtreecommitdiff
path: root/devel/libopensync022
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2007-03-17 21:57:53 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2007-03-17 21:57:53 +0000
commit4ac5b0cc316bc5dba827b66ecc0d748ca8f0cf5b (patch)
tree96f58bfea6c8351f463f111008edbf69db1fa833 /devel/libopensync022
parentFix build on amd64/ia64 (diff)
Fix build after objformat removal and on !i386
Notes
Notes: svn path=/head/; revision=187601
Diffstat (limited to 'devel/libopensync022')
-rw-r--r--devel/libopensync022/Makefile9
1 files changed, 4 insertions, 5 deletions
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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>