Conflicting rc.d script and port dist directory

Simon L. Nielsen simon at FreeBSD.org
Sat Dec 17 12:10:24 PST 2005


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?

-- 
Simon L. Nielsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20051217/66310edb/attachment.bin


More information about the freebsd-ports mailing list