aboutsummaryrefslogtreecommitdiff
path: root/archivers/py-borgbackup/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/py-borgbackup/Makefile')
-rw-r--r--archivers/py-borgbackup/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/py-borgbackup/Makefile b/archivers/py-borgbackup/Makefile
index d99215373938..50e6703a9893 100644
--- a/archivers/py-borgbackup/Makefile
+++ b/archivers/py-borgbackup/Makefile
@@ -28,7 +28,8 @@ USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
-.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
+.if defined(PACKAGE_BUILDING) && !defined(PACKAGE_BUILDING_FLAVORS) && \
+ ${PYTHON_VER} != ${PYTHON_DEFAULT}
IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
.endif