aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2014-06-30 22:24:04 +0800
committerLev A. Serebryakov <lev@FreeBSD.org>2014-06-30 22:24:04 +0800
commitcac7df4d10eab60cccd695bdbceadf10077bc985 (patch)
tree826dfafafbc2b1861db6570433dedd01ade53a53 /devel
parent50f92f25f3be7965e2ca8d73f41cf90e04f3e994 (diff)
downloadfreebsd-ports-gnome-cac7df4d10eab60cccd695bdbceadf10077bc985.tar.gz
freebsd-ports-gnome-cac7df4d10eab60cccd695bdbceadf10077bc985.tar.zst
freebsd-ports-gnome-cac7df4d10eab60cccd695bdbceadf10077bc985.zip
Fix KWallet / GNOMe Keyring integration: eanble code in "main" libraries
as it doesn't call any functions from KWallet/Keyring directly but should be enabled to load plugins dynamically. PR: 191463 Submitted by: Raphael Kubo da Costa
Diffstat (limited to 'devel')
-rw-r--r--devel/subversion/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/subversion/Makefile b/devel/subversion/Makefile
index 7b6332f0c5b9..d77ce635ca95 100644
--- a/devel/subversion/Makefile
+++ b/devel/subversion/Makefile
@@ -1,6 +1,7 @@
# Created by: rooneg@electricjellyfish.net
# $FreeBSD$
+PORTREVISION= 6
MAINTAINER= lev@FreeBSD.org
COMMENT= Version control system
@@ -145,6 +146,8 @@ pre-configure:
.endif
post-configure:
+# Enable GNOME Keyring / KWallet support in main code, as it is harmless
+ @${REINPLACE_CMD} -E 's%.*#undef SVN_HAVE_(GNOME_KEYRING|KWALLET).*%#define SVN_HAVE_\1 1%' ${WRKSRC}/subversion/svn_private_config.h
# ugly hack: save tools directory so we don't have to cleanup before installing
@${CP} -R ${WRKSRC}/tools ${WRKSRC}/tools.examples
@${CHMOD} -R a-st,o+rX ${WRKSRC}/tools.examples