Changeset View
Changeset View
Standalone View
Standalone View
lang/python27/Makefile
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | |||||
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS) | .if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS) | ||||
@${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \ | @${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \ | ||||
${WRKSRC}/setup.py | ${WRKSRC}/setup.py | ||||
.endif | .endif | ||||
post-install: | post-install: | ||||
for i in ${STAGEDIR}${PREFIX}/lib/python2.7/lib-dynload/*.so; do \ | for i in ${STAGEDIR}${PREFIX}/lib/python2.7/lib-dynload/*.so; do \ | ||||
${STRIP_CMD} $$i; done # Strip shared extensions | ${STRIP_CMD} $$i; done # Strip shared extensions | ||||
${INSTALL_DATA} ${WRKSRC}/Tools/gdb/libpython.py \ | |||||
rfyu28uyeg_snkmail.com: Use ${INSTALL_DATA} instead of 'install -m444' (same for python3* versions) | |||||
Done Inline ActionsNo, INSTALL_DATA means 644. (But, yeah, it must use INSTALL_DATA, not install direclty. mat: No, INSTALL_DATA means 644. (But, yeah, it must use INSTALL_DATA, not install direclty. | |||||
Done Inline ActionsIndeed. Although if for some reason one really wanted 0444, you should add to pkg-plist anyway. In this case 444 is probably right (not really a file to be edited), but not worth the trouble to override the default 644 IMO. rfyu28uyeg_snkmail.com: Indeed. Although if for some reason one really wanted 0444, you should add to pkg-plist anyway. | |||||
${STAGEDIR}${PREFIX}/lib/libpython2.7.so.1-gdb.py | |||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${SSL_DEFAULT:Mopenssl-devel} | .if ${SSL_DEFAULT:Mopenssl-devel} | ||||
BROKEN= Does not build with openssl-devel | BROKEN= Does not build with openssl-devel | ||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |
Use ${INSTALL_DATA} instead of 'install -m444' (same for python3* versions)