aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2013-08-20 04:54:39 +0800
committernaddy <naddy@FreeBSD.org>2013-08-20 04:54:39 +0800
commit7bc172e31e171ba531e93388625b8383211e25e1 (patch)
tree653f13bfa61e566d202f328e346f39c99e11fc38 /archivers
parentd84d7ac68a62b5ff1b90edce63608d1c936955cc (diff)
downloadfreebsd-ports-gnome-7bc172e31e171ba531e93388625b8383211e25e1.tar.gz
freebsd-ports-gnome-7bc172e31e171ba531e93388625b8383211e25e1.tar.zst
freebsd-ports-gnome-7bc172e31e171ba531e93388625b8383211e25e1.zip
Simplify by dropping workarounds for unsupported FreeBSD versions.
Diffstat (limited to 'archivers')
-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>