git: 88e8167b93ef - main - cad/opencascade: fix a bad symlink.

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Thu, 20 Jul 2023 16:14:09 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=88e8167b93ef61e196a856c3ef2772827a72ab5d

commit 88e8167b93ef61e196a856c3ef2772827a72ab5d
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-07-20 16:12:57 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-07-20 16:14:07 +0000

    cad/opencascade: fix a bad symlink.
    
    Reported by:    yuri
---
 cad/opencascade/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile
index 447a9426c000..3efc884cb2be 100644
--- a/cad/opencascade/Makefile
+++ b/cad/opencascade/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	opencascade
 DISTVERSION=	7.7.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	cad science
 MASTER_SITES=	LOCAL/thierry
 
@@ -166,8 +166,7 @@ post-build-DOXYGEN-on:
 
 post-install:
 	${MV} ${STAGEDIR}${OCCROOT}/bin/DRAWEXE-${DISTVERSION:C/-beta//} ${STAGEDIR}${PREFIX}/bin/DRAWEXE
-	(cd ${STAGEDIR}${PREFIX}/bin &&							\
-	${LN} -sf DRAWEXE ${STAGEDIR}${OCCROOT}/bin/DRAWEXE)
+	${RLN} ${STAGEDIR}${PREFIX}/bin/DRAWEXE ${STAGEDIR}${OCCROOT}/bin
 
 post-install-DOXYGEN-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}