Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2005 21:13:59 +0100
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        "Simon L. Nielsen" <simon@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: Conflicting rc.d script and port dist directory
Message-ID:  <1134850440.64549.0.camel@localhost>
In-Reply-To: <20051217201004.GA845@zaphod.nitro.dk>
References:  <20051217201004.GA845@zaphod.nitro.dk>

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

--=-1nKHl+PkC2QiBnk4QdC0
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Simon L. Nielsen p=ED=B9e v so 17. 12. 2005 v 21:10 +0100:
> Hey,
>=20
> I'm in the process of adding an rc.d script to the security/isakmpd
> port, but I have run into a problem.
>=20
> I have added "USE_RC_SUBR=3D isakmpd" to the port Makefile and created
> the rc.d script as files/isakmpd.in.
>=20
> 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:
>=20
> [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/isa=
kmpd: Is a directory
> *** Error code 2
>=20
> 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.

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Angband in action! Constant escalation to new depths to find angrier,
meaner letters and more punctuation!

--=-1nKHl+PkC2QiBnk4QdC0
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

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

iD8DBQBDpHGHntdYP8FOsoIRAswvAKCNaS+s8BuANCRY8T5lWFHQo0WO2wCfRaa2
+PlIRaaD43fBkHurx8dN1y8=
=tFlm
-----END PGP SIGNATURE-----

--=-1nKHl+PkC2QiBnk4QdC0--



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