svn commit: r325019 - head/archivers/gtar

Christian Weisgerber naddy at FreeBSD.org
Mon Aug 19 20:54:40 UTC 2013


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 at 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>


More information about the svn-ports-head mailing list