diff options
author | pav <pav@FreeBSD.org> | 2009-01-07 01:59:31 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2009-01-07 01:59:31 +0800 |
commit | 8ef21a396d8627cdfced24744c2bacb7cb0c9453 (patch) | |
tree | 06fbb407306ac7e1b7b00946df69737e787c8891 /sysutils/flexbackup | |
parent | e32973556a174646ad93cdf1b43963a9fc18eb55 (diff) | |
download | freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.gz freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.zst freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.zip |
- Remove conditional checks for FreeBSD 5.x and older
Diffstat (limited to 'sysutils/flexbackup')
-rw-r--r-- | sysutils/flexbackup/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/sysutils/flexbackup/Makefile b/sysutils/flexbackup/Makefile index c94da0f8ff22..bc48c82f511d 100644 --- a/sysutils/flexbackup/Makefile +++ b/sysutils/flexbackup/Makefile @@ -15,6 +15,11 @@ MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \ MAINTAINER= mva@sysfault.org COMMENT= Perl-based flexible backup system that can use dump/afio/cpio/tar/star +# FreeBSD 6.0 removed gtar +RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar + +TAR_CMD= ${PREFIX}/bin/gtar + MAKE_ARGS= PERLPATH=${PERL} CONFFILE=${PREFIX}/etc/flexbackup.conf USE_PERL5= yes @@ -29,17 +34,6 @@ OPTIONS= AFIO "Enable afio support" Off \ .include <bsd.port.pre.mk> -# Releases previous to 5.3 do not need a special gtar handling as GNU tar -# is the default here. >= 503001 to < 60022 have GNU tar renamed to gtar -# under circumstances, thus rely on gtar here. 600022 removed gtar. -TAR_CMD= /usr/bin/tar -.if ${OSVERSION} >= 600022 -RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar -TAR_CMD= ${PREFIX}/bin/gtar -.elif ${OSVERSION} >= 503001 && ${OSVERSION} < 600022 -TAR_CMD= /usr/bin/gtar -.endif - .if defined(WITH_AFIO) RUN_DEPENDS+= afio:${PORTSDIR}/sysutils/afio .endif |