summaryrefslogtreecommitdiff
path: root/lang/swift510/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/swift510/Makefile')
-rw-r--r--lang/swift510/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/lang/swift510/Makefile b/lang/swift510/Makefile
index 72b367b418f8..6b82bc9d9045 100644
--- a/lang/swift510/Makefile
+++ b/lang/swift510/Makefile
@@ -1,5 +1,6 @@
PORTNAME= swift510
DISTVERSION= 5.10.1
+PORTREVISION= 2
CATEGORIES= lang
DIST_SUBDIR= ${PORTNAME}
@@ -13,7 +14,7 @@ BUILD_DEPENDS= bash:shells/bash \
cmake-core>=3.19.6:devel/cmake-core
LIB_DEPENDS= libcurl.so:ftp/curl \
libicuuc.so:devel/icu \
- libuuid.so:misc/e2fsprogs-libuuid \
+ libuuid.so:misc/libuuid \
libxml2.so:textproc/libxml2 \
libzstd.so:archivers/zstd
@@ -93,7 +94,13 @@ post-patch:
do-build:
@${MKDIR} ${early_stage_dir}
- @${SH} ${FILESDIR}/start-build.sh ${WRKSRC} ${early_stage_dir} ${swift_install_prefix} ${WRKDIR}/clang-module-cache
+ ${SETENV} \
+ CCACHE_ENABLED=${CCACHE_ENABLED} \
+ CCACHE_BIN=${CCACHE_BIN} \
+ CCACHE_DIR=${CCACHE_DIR} \
+ MAKE_JOBS_NUMBER=${MAKE_JOBS_NUMBER} \
+ ${SH} -x ${FILESDIR}/start-build.sh ${WRKSRC} ${early_stage_dir} \
+ ${swift_install_prefix} ${WRKDIR}/clang-module-cache
do-install:
@${FIND} ${early_stage_dir}${swift_install_prefix}/bin -type f -not -name '*.py' -not -name '*.sh' -not -name '*.txt' -exec ${STRIP_CMD} '{}' ';' ; \
@@ -102,7 +109,6 @@ do-install:
${COPYTREE_BIN} .${swift_install_prefix}/bin ${STAGEDIR} ; \
for subdir in include lib local share; do \
${COPYTREE_SHARE} .${swift_install_prefix}/$${subdir} ${STAGEDIR} ; \
- done ; \
- ${RM} ${STAGEDIR}/var/run/libuuid/*
+ done
.include <bsd.port.post.mk>