aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2011-03-15 17:36:21 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2011-03-15 17:36:21 +0000
commit9eb21dc2e7b945dfeb5549cf1d760db5270975cb (patch)
tree1c93c50824482c5f2110e0dfce620956af8e277e /archivers
parentccb4db291867cc7be2beaa15f7132e926b701290 (diff)
downloadports-9eb21dc2e7b945dfeb5549cf1d760db5270975cb.tar.gz
ports-9eb21dc2e7b945dfeb5549cf1d760db5270975cb.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gtar/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index 1caa5df5662b..6b1334d3e40b 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -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>