aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-11-13 07:09:31 +0800
committerarved <arved@FreeBSD.org>2004-11-13 07:09:31 +0800
commitfc9e3e840cde3c7940239b39e4dc1d9c37b8bdee (patch)
treea7e4fdaaed1c56a02f87187890ab9c8623306097 /devel
parentcbbeb3235ee2c97e5c54928ffd486b10742a9828 (diff)
downloadfreebsd-ports-graphics-fc9e3e840cde3c7940239b39e4dc1d9c37b8bdee.tar.gz
freebsd-ports-graphics-fc9e3e840cde3c7940239b39e4dc1d9c37b8bdee.tar.zst
freebsd-ports-graphics-fc9e3e840cde3c7940239b39e4dc1d9c37b8bdee.zip
Re-add buildfix for amd64, which was accidently deleted during
3.3.1 update
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>