Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2013 20:54:39 +0000 (UTC)
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325019 - head/archivers/gtar
Message-ID:  <201308192054.r7JKsdAs038297@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: naddy
Date: Mon Aug 19 20:54:39 2013
New Revision: 325019
URL: http://svnweb.freebsd.org/changeset/ports/325019

Log:
  Simplify by dropping workarounds for unsupported FreeBSD versions.

Modified:
  head/archivers/gtar/Makefile

Modified: head/archivers/gtar/Makefile
==============================================================================
--- head/archivers/gtar/Makefile	Mon Aug 19 20:45:58 2013	(r325018)
+++ head/archivers/gtar/Makefile	Mon Aug 19 20:54:39 2013	(r325019)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308192054.r7JKsdAs038297>