Allow building as root.

PR:		155553
This commit is contained in:
Christian Weisgerber 2011-03-15 17:36:21 +00:00
parent ccb4db2918
commit 9eb21dc2e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270959

View File

@ -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>