aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kdevelop
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-10-05 20:31:26 +0800
committerarved <arved@FreeBSD.org>2004-10-05 20:31:26 +0800
commit0c0101fcfea8334b0d9067389b0296acc936fbb1 (patch)
treed232453f5307e45fca05d62eca64d9b42e02e4d9 /devel/kdevelop
parenta4ed1d807fdbdf092dc99bb7f8d6dc97c9363870 (diff)
downloadfreebsd-ports-gnome-0c0101fcfea8334b0d9067389b0296acc936fbb1.tar.gz
freebsd-ports-gnome-0c0101fcfea8334b0d9067389b0296acc936fbb1.tar.zst
freebsd-ports-gnome-0c0101fcfea8334b0d9067389b0296acc936fbb1.zip
Workaround to fix build on amd64.
Approved by: portmgr
Diffstat (limited to 'devel/kdevelop')
-rw-r--r--devel/kdevelop/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/kdevelop/Makefile b/devel/kdevelop/Makefile
index 048c757b5bd1..abc88130163a 100644
--- a/devel/kdevelop/Makefile
+++ b/devel/kdevelop/Makefile
@@ -54,4 +54,10 @@ pre-everything::
post-patch:
${TOUCH} -t 200401230000 ${WRKSRC}/Makefile.am.in
+.if ${ARCH} == "amd64"
+post-configure:
+ ${REINPLACE_CMD} -e "s,-O2,${CFLAGS} -fPIC," \
+ ${WRKSRC}/bdb/build_unix/Makefile ${WRKSRC}/bdb/Makefile
+.endif
+
.include <bsd.port.post.mk>