Allow building as root.
PR: 155553
This commit is contained in:
parent
ccb4db2918
commit
9eb21dc2e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270959
@ -56,4 +56,11 @@ regression-test: build
|
||||
RUN_DEPENDS+= xz:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
# supply result to skip a test that will abort configure if run as root
|
||||
.if ${OSVERSION} < 800040
|
||||
CONFIGURE_ENV+= gl_cv_func_mknod_works=no
|
||||
.else
|
||||
CONFIGURE_ENV+= gl_cv_func_mknod_works=yes
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user