From owner-freebsd-ports@FreeBSD.ORG Sat Dec 17 20:10:24 2005 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88A2416A41F for ; Sat, 17 Dec 2005 20:10:24 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3705943D45 for ; Sat, 17 Dec 2005 20:10:13 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id CCD7D1191C; Sat, 17 Dec 2005 21:10:05 +0100 (CET) Date: Sat, 17 Dec 2005 21:10:05 +0100 From: "Simon L. Nielsen" To: freebsd-ports@FreeBSD.org Message-ID: <20051217201004.GA845@zaphod.nitro.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: Subject: Conflicting rc.d script and port dist directory X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2005 20:10:24 -0000 --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--