aboutsummaryrefslogtreecommitdiff
path: root/devel
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
parentf2af09fcce8470bccaaac4390cd91f8458703881 (diff)
downloadports-4ac5b0cc316bc5dba827b66ecc0d748ca8f0cf5b.tar.gz
ports-4ac5b0cc316bc5dba827b66ecc0d748ca8f0cf5b.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/libopensync/Makefile9
-rw-r--r--devel/libopensync022/Makefile9
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 <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>
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>