Since it makes very... promiscuous modes in the installation, create
the ${PREFIX}/share/licq directory with no external permissions at all while doing the installation, then whack the permissions into shape later before handing it off to the world. There is no race condition, but this is under the assumption that the installation routine doesn't chmod ${PREFIX}/share/licq itself! God only knows, with this autoconfed, libtooled...
This commit is contained in:
parent
0ecef4ad10
commit
5fb1f72310
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31670
@ -56,6 +56,10 @@ post-build:
|
||||
${SETENV} ${MAKE_ENV} \
|
||||
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
||||
|
||||
pre-install:
|
||||
${RM} -rf ${PREFIX}/share/licq
|
||||
${MKDIR} -m 700 ${PREFIX}/share/licq
|
||||
|
||||
post-install:
|
||||
strip ${PREFIX}/bin/licq
|
||||
cd ${WRKSRC}/plugins/qt-gui;\
|
||||
@ -72,5 +76,7 @@ post-install:
|
||||
${MKDIR} ${PREFIX}/share/licq/qt-gui
|
||||
cd ${DATADIR}/qt-gui && ${TAR} -chf - * | \
|
||||
${TAR} -xf - -C ${PREFIX}/share/licq/qt-gui
|
||||
${CHMOD} -R a-w ${PREFIX}/share/licq
|
||||
${CHMOD} 555 ${PREFIX}/share/licq
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -56,6 +56,10 @@ post-build:
|
||||
${SETENV} ${MAKE_ENV} \
|
||||
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
||||
|
||||
pre-install:
|
||||
${RM} -rf ${PREFIX}/share/licq
|
||||
${MKDIR} -m 700 ${PREFIX}/share/licq
|
||||
|
||||
post-install:
|
||||
strip ${PREFIX}/bin/licq
|
||||
cd ${WRKSRC}/plugins/qt-gui;\
|
||||
@ -72,5 +76,7 @@ post-install:
|
||||
${MKDIR} ${PREFIX}/share/licq/qt-gui
|
||||
cd ${DATADIR}/qt-gui && ${TAR} -chf - * | \
|
||||
${TAR} -xf - -C ${PREFIX}/share/licq/qt-gui
|
||||
${CHMOD} -R a-w ${PREFIX}/share/licq
|
||||
${CHMOD} 555 ${PREFIX}/share/licq
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -56,6 +56,10 @@ post-build:
|
||||
${SETENV} ${MAKE_ENV} \
|
||||
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
||||
|
||||
pre-install:
|
||||
${RM} -rf ${PREFIX}/share/licq
|
||||
${MKDIR} -m 700 ${PREFIX}/share/licq
|
||||
|
||||
post-install:
|
||||
strip ${PREFIX}/bin/licq
|
||||
cd ${WRKSRC}/plugins/qt-gui;\
|
||||
@ -72,5 +76,7 @@ post-install:
|
||||
${MKDIR} ${PREFIX}/share/licq/qt-gui
|
||||
cd ${DATADIR}/qt-gui && ${TAR} -chf - * | \
|
||||
${TAR} -xf - -C ${PREFIX}/share/licq/qt-gui
|
||||
${CHMOD} -R a-w ${PREFIX}/share/licq
|
||||
${CHMOD} 555 ${PREFIX}/share/licq
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user