aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archivers/gtar/Makefile20
1 files changed, 3 insertions, 17 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index 511934414131..5b68c831c722 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -11,9 +11,6 @@ PKGNAMEPREFIX= g
MAINTAINER= naddy@FreeBSD.org
COMMENT= GNU version of the traditional tape archiver
-# only force dependencies for compressors that have a single-letter option
-#RUN_DEPENDS= # see below
-
INFO= tar
USES= iconv
@@ -26,6 +23,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${LDSTATIC}
CONFIGURE_ENV= DEFAULT_ARCHIVE=/dev/sa0 \
DEFAULT_RMT_COMMAND=/etc/rmt
+# supply result to skip a test that will abort configure if run as root
+CONFIGURE_ENV+= gl_cv_func_mknod_works=yes
OPTIONS_DEFINE= STATIC
@@ -49,17 +48,4 @@ PLIST_SUB+= NLS="@comment "
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
-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>
+.include <bsd.port.mk>