aboutsummaryrefslogtreecommitdiff
path: root/archivers/gtar
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2013-08-19 20:54:39 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2013-08-19 20:54:39 +0000
commitd4984511f5c8ada68a4c459525b522bad2c0b9e2 (patch)
tree653f13bfa61e566d202f328e346f39c99e11fc38 /archivers/gtar
parent17597283fca86389b0884e284c97ae942f720009 (diff)
downloadports-d4984511f5c8ada68a4c459525b522bad2c0b9e2.tar.gz
ports-d4984511f5c8ada68a4c459525b522bad2c0b9e2.zip
Notes
Diffstat (limited to 'archivers/gtar')
-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>