aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/kdevelop/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/kdevelop/Makefile b/devel/kdevelop/Makefile
index 998256e5924..a76ce07d372 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>