Conflicting rc.d script and port dist directory

Pav Lucistnik pav at
Sat Dec 17 12:14:19 PST 2005

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/
> 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 ...

The framework will add the .sh suffix anyway.

Pav Lucistnik <pav at>
              <pav at>

Angband in action! Constant escalation to new depths to find angrier,
meaner letters and more punctuation!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
Url :

More information about the freebsd-ports mailing list