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/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/archivers/urbackup-client/Makefile b/archivers/urbackup-client/Makefile
index 3f6591510303..0999935140de 100644
--- a/archivers/urbackup-client/Makefile
+++ b/archivers/urbackup-client/Makefile
@@ -1,5 +1,6 @@
PORTNAME= urbackup-client
DISTVERSION= 2.5.25.0
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= https://hndl.urbackup.org/Client/${DISTVERSION:R}/
@@ -38,8 +39,12 @@ CXXFLAGS+= -DCRYPTOPP_DISABLE_ASM
.endif
post-patch:
- @${SED} -i "" -e "s:%%PREFIX%%:${PREFIX}:g" \
+ ${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" \
${WRKSRC}/urbackupclient/backup_scripts/postgresqldump
+ ${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} \
+ -e 's|std::char_traits|std::vector|g' \
+ -e 's|std::basic_string|std::vector|g' \
+ -e 's|auto_ptr|unique_ptr|g' {} +
post-stage:
${INSTALL_DATA} ${WRKDIR}/urbackupclient.conf.sample-daemon \