The diff below brings borgbackup to 1.1.7, which is a maintenance release. Changelog can be found at https://github.com/borgbackup/borg/blob/1.1.7/docs/changes.rst#version-117-2018-08-11
'make test' runs successfully, and making and restoring a backup on amd64 work as advertised. There is no need any more for removing '__attribute__((optimize("Os")))' in the pre-configure phase as this has been addressed upstream. I intend to commit the diff below in a couple of days. Additional testing would be appreciated, especially tests on other platforms than amd64. Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/borgbackup/Makefile,v retrieving revision 1.23 diff -u -p -r1.23 Makefile --- Makefile 2 Aug 2018 13:43:05 -0000 1.23 +++ Makefile 12 Aug 2018 07:07:55 -0000 @@ -2,8 +2,7 @@ COMMENT = deduplicating backup program -MODPY_EGG_VERSION = 1.1.6 -REVISION = 0 +MODPY_EGG_VERSION = 1.1.7 DISTNAME = borgbackup-${MODPY_EGG_VERSION} CATEGORIES = sysutils @@ -30,10 +29,6 @@ TEST_DEPENDS += ${RUN_DEPENDS} \ devel/py-test${MODPY_FLAVOR} \ devel/py-test-benchmark${MODPY_FLAVOR} \ devel/py-test-xdist${MODPY_FLAVOR} - -pre-configure: - find ${WRKSRC} -type f \ - -exec perl -i -pe 's# __attribute__\(\(optimize\("Os"\)\)\)##g' {} \; post-install: ${INSTALL_MAN} ${WRKSRC}/docs/man/*.1 ${PREFIX}/man/man1/ Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/borgbackup/distinfo,v retrieving revision 1.15 diff -u -p -r1.15 distinfo --- distinfo 18 Jun 2018 15:40:16 -0000 1.15 +++ distinfo 12 Aug 2018 07:07:55 -0000 @@ -1,2 +1,2 @@ -SHA256 (borgbackup-1.1.6.tar.gz) = odLkdMhdOtPVmz+CCbVUllPIiRIILqAVnSei6AyRCTA= -SIZE (borgbackup-1.1.6.tar.gz) = 3441523 +SHA256 (borgbackup-1.1.7.tar.gz) = 97UaEy6e374crLT0eLKMrzYi15//yzab2un5LYyKf9w= +SIZE (borgbackup-1.1.7.tar.gz) = 3446832