Conflicting rc.d script and port dist directory

Brooks Davis brooks at one-eyed-alien.net
Sat Dec 17 12:39:13 PST 2005


On Sat, Dec 17, 2005 at 09:13:59PM +0100, Pav Lucistnik wrote:
> Simon L. Nielsen pí?e v so 17. 12. 2005 v 21:10 +0100:
> > Hey,
> > 
> > I'm in the process of adding an rc.d script to the security/isakmpd
> > port, but I have run into a problem.
> > 
> > I have added "USE_RC_SUBR= isakmpd" to the port Makefile and created
> > the rc.d script as files/isakmpd.in.
> > 
> > The isakmpd distfile extracts the source to isakmpd/ in the the work
> > directory, which the conflicts with the rc.d script generation
> > (SUB_FILES), since it tries to create ${WRKDIR}/${file} as a file.
> > This shows up during make install:
> > 
> > [simon at zaphod:isakmpd] sudo make install
> > ===>  Installing for isakmpd-20041207_1
> > cannot create /data/tmp/porttmp/home/simon/FreeBSD/ports/isakmpd/work/isakmpd: Is a directory
> > *** Error code 2
> > 
> > So, does anybody have good (and hopefully not to hackish) ideas of
> > what to do?
> 
> Yes. Name the script isakmpd.sh.in ...
> 
> The framework will add the .sh suffix anyway.

That would be a hack since we don't want to continue adding .sh...

-- Brooks


-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20051217/7f20adcc/attachment.bin


More information about the freebsd-ports mailing list