1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

Avoid the use of tar(1)'s --no-same-owner flag, which is not supported

by version 1.11.2 or earlier.  This fixes installation on older
systems prior to 4.7-RELEASE.

PR:		ports/42143 (no patch)
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
Akinori MUSHA 2003-02-22 17:04:33 +00:00
parent de22464a45
commit a1898cd9f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76178
3 changed files with 18 additions and 12 deletions

View File

@ -70,14 +70,16 @@ APPENDIXDIR= ${PREFIX}/share/eb/appendix
pre-configure:
cd ${WRKSRC}; autoconf
${MKDIR} ${WRKDIR}/appendix
.for file in ${APPENDIXFILES}
${TAR} --exclude CVS -C ${WRKDIR}/appendix -zxmf \
${DISTDIR}/${DIST_SUBDIR}/${file}
.endfor
post-install:
.for file in ${LISTFILES}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${file} ${APPENDIXDIR}
.endfor
.for file in ${APPENDIXFILES}
${TAR} --no-same-owner --exclude CVS -C ${APPENDIXDIR} -zxmf\
${DISTDIR}/${DIST_SUBDIR}/${file}
.endfor
${CP} -R ${WRKDIR}/appendix/ ${APPENDIXDIR}
.include <bsd.port.mk>

View File

@ -62,14 +62,16 @@ APPENDIXDIR= ${PREFIX}/share/eb/appendix
post-extract:
cd ${WRKSRC} && ${RM} -rf zlib
${MKDIR} ${WRKDIR}/appendix
.for file in ${APPENDIXFILES}
${TAR} --exclude CVS -C ${WRKDIR}/appendix -zxmf \
${DISTDIR}/${DIST_SUBDIR}/${file}
.endfor
post-install:
.for file in ${LISTFILES}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${file} ${APPENDIXDIR}
.endfor
.for file in ${APPENDIXFILES}
${TAR} --no-same-owner --exclude CVS -C ${APPENDIXDIR} -zxmf\
${DISTDIR}/${DIST_SUBDIR}/${file}
.endfor
${CP} -R ${WRKDIR}/appendix/ ${APPENDIXDIR}
.include <bsd.port.mk>

View File

@ -70,14 +70,16 @@ APPENDIXDIR= ${PREFIX}/share/eb/appendix
pre-configure:
cd ${WRKSRC}; autoconf
${MKDIR} ${WRKDIR}/appendix
.for file in ${APPENDIXFILES}
${TAR} --exclude CVS -C ${WRKDIR}/appendix -zxmf \
${DISTDIR}/${DIST_SUBDIR}/${file}
.endfor
post-install:
.for file in ${LISTFILES}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${file} ${APPENDIXDIR}
.endfor
.for file in ${APPENDIXFILES}
${TAR} --no-same-owner --exclude CVS -C ${APPENDIXDIR} -zxmf\
${DISTDIR}/${DIST_SUBDIR}/${file}
.endfor
${CP} -R ${WRKDIR}/appendix/ ${APPENDIXDIR}
.include <bsd.port.mk>