Fix permissions when building as root
This commit is contained in:
parent
6f5b504270
commit
ebe21a12ac
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.79 2023/05/17 15:27:06 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.80 2023/09/28 22:12:12 joerg Exp $
|
||||
|
||||
DISTNAME= docbook-xsl-nons-1.79.2
|
||||
PKGNAME= ${DISTNAME:S/-nons//}
|
||||
|
@ -60,6 +60,7 @@ CHECK_INTERPRETER_SKIP+= share/xsl/docbook/epub/bin/dbtoepub
|
|||
|
||||
post-extract:
|
||||
${RM} -f ${${FIND} ${WRKSRC} -type d:L:sh:=/.gitignore}
|
||||
chmod -R g-w ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}/template && ${PAX} -rw -pp -pm * ${DESTDIR}${EGDIR}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2023/04/30 18:56:28 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2023/09/28 22:12:46 joerg Exp $
|
||||
|
||||
DISTNAME= odfpy-1.4.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -25,6 +25,9 @@ SUBST_STAGE.man= pre-configure
|
|||
SUBST_FILES.man= setup.py
|
||||
SUBST_VARS.man= PKGMANDIR
|
||||
|
||||
post-extract:
|
||||
chmod -R g-w ${WRKSRC}
|
||||
|
||||
post-install:
|
||||
.for bin in csv2ods mailodf odf2mht odf2xhtml odf2xml odfimgimport \
|
||||
odflint odfmeta odfoutline odfuserfield xml2odf
|
||||
|
|
Loading…
Reference in New Issue