Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2005 21:10:05 +0100
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Conflicting rc.d script and port dist directory
Message-ID:  <20051217201004.GA845@zaphod.nitro.dk>

next in thread | raw e-mail | index | archive | help

--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D 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@zaphod:isakmpd] sudo make install
=3D=3D=3D>  Installing for isakmpd-20041207_1
cannot create /data/tmp/porttmp/home/simon/FreeBSD/ports/isakmpd/work/isakm=
pd: Is a directory
*** Error code 2

So, does anybody have good (and hopefully not to hackish) ideas of
what to do?

--=20
Simon L. Nielsen

--BOKacYhQ+x31HxR3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDpHCch9pcDSc1mlERAgk/AKC4KBDISOttCGZEwFQ7/wC07V1ABACeNx3S
giBL3Ss84kpNw2Yvij7WCvw=
=3IOd
-----END PGP SIGNATURE-----

--BOKacYhQ+x31HxR3--



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