summaryrefslogtreecommitdiff
path: root/lang/dotnet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/dotnet/Makefile')
-rw-r--r--lang/dotnet/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/dotnet/Makefile b/lang/dotnet/Makefile
index a66852731be8..21afe7524d35 100644
--- a/lang/dotnet/Makefile
+++ b/lang/dotnet/Makefile
@@ -1,6 +1,7 @@
PORTNAME= dotnet
DISTVERSIONPREFIX= v
DISTVERSION= ${DOTNETVERSION}.0
+PORTREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= https://github.com/dotnet/dotnet/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/release.json?dummy=/:dotnetmanifest \
https://github.com/sec/dotnet-core-freebsd-source-build/releases/download/9.0.0-rc.2-native/:bootstrap
@@ -27,7 +28,8 @@ LIB_DEPENDS= libbrotlienc.so:archivers/brotli \
libicuuc.so:devel/icu \
libinotify.so:devel/libinotify \
libunwind.so:devel/libunwind
-RUN_DEPENDS= terminfo-db>0:misc/terminfo-db
+RUN_DEPENDS= terminfo-db>0:misc/terminfo-db \
+ dotnet:lang/dotnet-runtime
USES= autoreconf:build gssapi:mit llvm:noexport pkgconfig \
python:build,3.9+ shebangfix ssl
@@ -100,9 +102,7 @@ do-build:
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/dotnet
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/artifacts/assets/Release/${SDK_DISTNAME}${EXTRACT_SUFX} -C ${STAGEDIR}${PREFIX}/dotnet ${EXTRACT_AFTER_ARGS}
- ${ELFCTL} -e +noaslr ${STAGEDIR}${PREFIX}/dotnet/dotnet
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/dotnet
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/sdk/${SDKVERSION}/AppHostTemplate/apphost
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/packs/Microsoft.NETCore.App.Host.${SDK_RID}/${DISTVERSION}/runtimes/${SDK_RID}/native/apphost
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/packs/Microsoft.NETCore.App.Host.${SDK_RID}/${DISTVERSION}/runtimes/${SDK_RID}/native/singlefilehost