From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 7 17:10:25 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E273D16A4E0 for ; Thu, 7 Sep 2006 17:10:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E68443D53 for ; Thu, 7 Sep 2006 17:10:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k87HAOec048860 for ; Thu, 7 Sep 2006 17:10:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k87HAOKl048859; Thu, 7 Sep 2006 17:10:24 GMT (envelope-from gnats) Date: Thu, 7 Sep 2006 17:10:24 GMT Message-Id: <200609071710.k87HAOKl048859@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Marcus von Appen Cc: Subject: Re: ports/102971: [Maintiner-update]: sysutils/flexbackup PREFIX fix and OPTIONization X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 17:10:26 -0000 The following reply was made to PR ports/102971; it has been noted by GNATS. From: Marcus von Appen To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/102971: [Maintiner-update]: sysutils/flexbackup PREFIX fix and OPTIONization Date: Thu, 7 Sep 2006 19:12:41 +0200 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Unfortunately the OPTIONS knobs won't work, because I placed them behind . A revised patch which fixes this is attached. Regards Marcus --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="flex_rev.diff" diff -Nur flexbackup/Makefile flexbackup.new/Makefile --- flexbackup/Makefile Tue Sep 5 06:57:08 2006 +++ flexbackup.new/Makefile Thu Sep 7 19:06:07 2006 @@ -7,23 +7,28 @@ PORTNAME= flexbackup PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \ http://www.reynoldsnet.org/flexbackup/tarball/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mva@sysfault.org COMMENT= Perl-based flexible backup system that can use dump/afio/cpio/tar/star PKGMESSAGE= ${WRKDIR}/pkg-message - MAKE_ARGS= PERLPATH=${PERL} - USE_PERL5= yes -.if defined(WITH_PREFIX_CONF) MAKE_ARGS+= CONFFILE=${PREFIX}/etc/flexbackup.conf CONFDIR= ${PREFIX} -.endif + +OPTIONS= AFIO "Enable afio support" Off \ + BUFFER "Enable buffer support" Off \ + GTAR "Enable gtar support" Off \ + STAR "Enable star support" Off \ + ZIP "Eanble zip support" Off + +.include .if defined(WITH_AFIO) RUN_DEPENDS+= afio:${PORTSDIR}/sysutils/afio @@ -46,22 +51,12 @@ .endif pre-fetch: - @${ECHO} "----------------------------------------------------------" - @${ECHO} "This port can utilize afio, star, zip, and buffer." - @${ECHO} "You may use the following build options to make:" - @${ECHO} - @${ECHO} " WITH_AFIO=yes enable the use of afio" - @${ECHO} " WITH_STAR=yes enable the use of star" - @${ECHO} " WITH_ZIP=yes enable the use of zip" - @${ECHO} " WITH_BUFFER=yes enable the use of buffer" - @${ECHO} - @${ECHO} "----------------------------------------------------------" - @${ECHO} + @${ECHO} "------------------------------------------------------------------------" @${ECHO} "If you are using and older version of FreeBSD that does not have GNU Tar" @${ECHO} "imported as the system 'tar,' configure this port using WITH_GTAR=yes" @${ECHO} "to enable the port dependency and use the 'path' variable in the" @${ECHO} "flexbackup.conf file to point to 'gtar'" - @${ECHO} + @${ECHO} "------------------------------------------------------------------------" MAN1= flexbackup.1 MAN5= flexbackup.conf.5 @@ -84,4 +79,4 @@ .endif @${CAT} ${PKGMESSAGE} -.include +.include --A6N2fC+uXW/VQSAv--