aboutsummaryrefslogtreecommitdiff
path: root/archivers/urbackup-client/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/urbackup-client/Makefile')
-rw-r--r--archivers/urbackup-client/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/archivers/urbackup-client/Makefile b/archivers/urbackup-client/Makefile
index 59cd8bb07237..68a533fc0568 100644
--- a/archivers/urbackup-client/Makefile
+++ b/archivers/urbackup-client/Makefile
@@ -1,6 +1,6 @@
PORTNAME= urbackup-client
DISTVERSION= 2.5.20.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= archivers
MASTER_SITES= https://hndl.urbackup.org/Client/${DISTVERSION:R}/
@@ -40,6 +40,14 @@ GUI_CONFIGURE_OFF= --enable-headless
CONFFILES= mariadbdump.conf mariadbxtrabackup.conf postgresbase.conf \
postgresqldump.conf
+.include <bsd.port.options.mk>
+
+# Fix segmentation fault, PR 266531
+# see also 5a19c08: security/cryptopp: Update to 8.7.0
+.if ${ARCH} == i386 || ${ARCH} == amd64
+CXXFLAGS+= -DCRYPTOPP_DISABLE_ASM
+.endif
+
post-patch:
@${SED} -i "" -e "s:%%PREFIX%%:${PREFIX}:g" \
${WRKSRC}/urbackupclient/backup_scripts/postgresqldump