To untar an archive with root priviledge results to preserve file owners in the archive. Japanese/zangband untars a supplemental distfiles by itself and installs files with invalid owners on the host. Fix: pre-patch: - (cd ${WRKSRC} ; ${TAR} zxf ${DISTDIR}/${DIST_SUBDIR}/${JA_DISTFILE}) + (cd ${WRKSRC} ; ${TAR} zxf ${DISTDIR}/${DIST_SUBDIR}/${JA_DISTFILE} --no-same-owner) (cd ${WRKSRC}/src ; ${PATCH} -p1 -l -s < ../zj${E_VERSION:S/.//g}.patch ; ${PATCH} -p1 -l -s < ${FILESDIR}/makefile-adjust.patch) pre-build:--EChS0hOOmiAlWdZ4c1tDPHk7V1kEKLqLw5GLmUZb1RpXirte Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.orig Fri Jun 18 03:55:06 2004 +++ Makefile Fri Jun 18 03:55:18 2004 @@ -46,7 +46,7 @@ JA_DISTFILE= z${E_VERSION:S/.//g}j104src.tgz How-To-Repeat: ls -lR /usr/local/lib/jzangband and you will see the files which owners are 500:500.
State Changed From-To: open->closed Committed, thanks!