aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2009-03-07 20:45:16 +0800
committergahr <gahr@FreeBSD.org>2009-03-07 20:45:16 +0800
commita89703436c3c2b258dd6e648678bf0c2cb335eb7 (patch)
tree9281110bd0a40566309038495c5dc9ddfec7f51f /editors
parent306b7443c06bb42459df4b40a292b9bb2ddcc42c (diff)
downloadfreebsd-ports-gnome-a89703436c3c2b258dd6e648678bf0c2cb335eb7.tar.gz
freebsd-ports-gnome-a89703436c3c2b258dd6e648678bf0c2cb335eb7.tar.zst
freebsd-ports-gnome-a89703436c3c2b258dd6e648678bf0c2cb335eb7.zip
Try to fix build on amd64 (trial #2)
Reported by: QA Tindie
Diffstat (limited to 'editors')
-rw-r--r--editors/codelite/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/codelite/Makefile b/editors/codelite/Makefile
index 9a05f3ce206a..cb1d9a5a1a7f 100644
--- a/editors/codelite/Makefile
+++ b/editors/codelite/Makefile
@@ -35,6 +35,9 @@ RUN_DEPENDS+= cscope:${PORTSDIR}/devel/cscope
.endif
post-patch:
+.if ${ARCH} == "amd64"
+ ${REINPLACE_CMD} -e '58s|=|= -fPIC|' ${WRKSRC}/configure
+.endif
${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|g' \
${WRKSRC}/configure
${REINPLACE_CMD} -e 's|$${cur_rev}|${SVN_REVISION}|' \