summaryrefslogtreecommitdiffstats
path: root/devel/etoile-foundation
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-05-25 17:06:31 +0000
committerdinoex <dinoex@FreeBSD.org>2012-05-25 17:06:31 +0000
commit07ebb8a774d181fe1490b96e88f455c1da741675 (patch)
tree4de06eb82b185be8c762b0d78f94dc0aca97ebf4 /devel/etoile-foundation
parent66591144aa7a5998b84650ee124e3bf9dc23b128 (diff)
downloadFreeBSD-ports-07ebb8a774d181fe1490b96e88f455c1da741675.zip
FreeBSD-ports-07ebb8a774d181fe1490b96e88f455c1da741675.tar.gz
- fix __sync_fetch_and_add_4 on old i386 platforms
Submitted by: Sergey Jamy
Diffstat (limited to 'devel/etoile-foundation')
-rw-r--r--devel/etoile-foundation/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/etoile-foundation/Makefile b/devel/etoile-foundation/Makefile
index c325777..9256bca 100644
--- a/devel/etoile-foundation/Makefile
+++ b/devel/etoile-foundation/Makefile
@@ -32,9 +32,13 @@ DEFAULT_LIBVERSION2= 0.1
PLIST_SUB+= LIBVERSION2=${DEFAULT_LIBVERSION2}
PLIST_SUB+= MAJORLIBVERSION2=${DEFAULT_LIBVERSION2:C/([0-9]).*/\1/1}
+.include <bsd.port.pre.mk>
+
do-configure:
+.if (${ARCH} != i386)
${REINPLACE_CMD} -e 's|ADDITIONAL_OBJCFLAGS += -march=i586||' \
${WRKSRC}/Frameworks/EtoileFoundation/GNUmakefile
+.endif
${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/etoile.make
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud