pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lang/perl5 on cygwin needs chmod
I happened to package perl-5.20.2 on Win7 (Pro SP1) cygwin.
I needed attached patch.
I have following line for memory disk
WRKOBJDIR=/cygdrive/g/WRKOBJDIR
(uname -a)
CYGWIN_NT-6.1 m08 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64 Cygwin
Is this specific to my environment ?
Thank you,
---
Makoto Fujiwara,
Chiba, Japan, Narita Airport and Disneyland prefecture.
Index: lang/perl5/Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/lang/perl5/Makefile,v
retrieving revision 1.233
diff -u -u -p -r1.233 Makefile
--- lang/perl5/Makefile 22 Nov 2014 03:04:31 -0000 1.233
+++ lang/perl5/Makefile 24 Mar 2015 08:09:55 -0000
@@ -324,6 +324,15 @@ perl5-post-install:
.if ${OPSYS} == "Haiku"
${CHMOD} a+x ${DESTDIR}${PREFIX}/bin/perl
.endif
+.if ${OPSYS} == "Cygwin"
+ ${CHMOD} 0755 ${DESTDIR}${PREFIX}/${PKGMANDIR}
+ ${FIND} ${DESTDIR}${PREFIX}/${PKGMANDIR} -type f -exec ${CHMOD} 0644 '{}' \;
+ ${CHMOD} 0755 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man*
+ ${CHMOD} 0755 ${DESTDIR}${PREFIX}
+ ${CHMOD} 0755 ${DESTDIR}${PREFIX}/bin
+ ${FIND} ${DESTDIR}${PERL5_PERLBASE}/man -type f -exec ${CHMOD} 0644 '{}' \;
+ ${CHMOD} a+x ${DESTDIR}${PERL5_PERLBASE}/bin/perllink
+.endif
.include "packlist.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index