pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

OpenSTA: Dependent packages demand +x permission on a tcl script



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Thu Sep 12 15:28:18 2024 +0530
Changeset:	2a126555fc978ad1c02625d4a97d8593e254da35

Modified Files:
	OpenSTA/Makefile

Log Message:
OpenSTA: Dependent packages demand +x permission on a tcl script

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2a126555fc978ad1c02625d4a97d8593e254da35

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 OpenSTA/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diffs:
diff --git a/OpenSTA/Makefile b/OpenSTA/Makefile
index 8f5d571d0f..7d58c84f19 100644
--- a/OpenSTA/Makefile
+++ b/OpenSTA/Makefile
@@ -16,10 +16,13 @@ GCC_REQD+=	10
 
 USE_LANGUAGES=	c++
 
+USE_TOOLS+= chmod cp
+
 INSTALLATION_DIRS+=	etc
 
-pre-install:
-	${INSTALL_DATA} ${WRKSRC}/etc/* ${DESTDIR}${PREFIX}/etc/
+post-install:
+	${CP} -r ${WRKSRC}/etc/ ${DESTDIR}${PREFIX}
+	${CHMOD} +x ${DESTDIR}${PREFIX}/etc/TclEncode.tcl
 
 .include "../../wip/cudd/buildlink3.mk"
 .include "../../lang/tcl/buildlink3.mk"


Home | Main Index | Thread Index | Old Index