Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2001 12:30:01 -0700 (PDT)
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/28521: inconsistency: daemontools and serialmail
Message-ID:  <200109251930.f8PJU1P98962@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/28521; it has been noted by GNATS.

From: "Scot W. Hetzel" <hetzels@westbend.net>
To: "Tom Hukins" <tom@FreeBSD.ORG>,
	<FreeBSD-gnats-submit@FreeBSD.ORG>
Cc:  
Subject: Re: ports/28521: inconsistency: daemontools and serialmail
Date: Tue, 25 Sep 2001 14:28:46 -0500

 From: "Tom Hukins" <tom@FreeBSD.ORG>
 > From: Tom Hukins <tom@FreeBSD.org>
 > To: Peter Pentchev <roam@ringlet.net>
 > Cc: FreeBSD-gnats-submit@freebsd.org
 > Subject: Re: ports/28521: inconsistency: daemontools and serialmail
 > Date: Tue, 25 Sep 2001 14:42:43 +0100
 >
 >  On Tue, Sep 25, 2001 at 06:10:01AM -0700, Peter Pentchev wrote:
 >  >
 >  >  I believe that something like the following should work:
 >  >
 >  >  RUN_DEPENDS= setlock:${PORTSDIR}/sysutils/daemontools
 >  >
 >  >  If any version of daemontools is already installed, the setlock
 >  >  binary will be present and no action will be taken.
 >
 >  Unfortunately, daemontools53 doesn't install setlock (I must have
 >  explained this badly), so this won't work. :-(
 >
 The answer was partially correct, use:
 
 .if exists(${PREFIX}/bin/setlock)
 RUN_DEPENDS= setlock:${PORTSDIR}/sysutils/daemontools
 NO_SETLOCK= "@comment "
 WITHOUT_SETLOCK= yes
 .else
 NO_SETLOCK=""
 .endif
 
 PLIST_SUB= NO_SETLOCK=${NO_SETLOCK}
 
 then in pkg-plist:
 
 %%NO_SETLOCK%%bin/setlock
 
 you will also need to modify the port to not install setlock when
 WITHOUT_SETLOCK is defined.
 
 Scot
 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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