Date: Fri, 15 Sep 2006 02:29:48 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Kris Kennaway <kris@obsecurity.org> Cc: Matt Dawson <matt@chronos.org.uk>, freebsd-ports@freebsd.org Subject: Re: Port Makefiles and the MANPREFIX macro Message-ID: <20060915062948.GA93166@xor.obsecurity.org> In-Reply-To: <20060915062514.GA89551@xor.obsecurity.org> References: <20060914120055.2F90616A64E@hub.freebsd.org> <200609150722.15348.matt@chronos.org.uk> <20060915062514.GA89551@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 15, 2006 at 02:25:14AM -0400, Kris Kennaway wrote: > On Fri, Sep 15, 2006 at 07:22:15AM +0100, Matt Dawson wrote: > > Hi all, > > Currently doing battle with some port updates and I have come across a= =20 > > strange problem. It's probably my fault, but some guidance would be=20 > > appreciated. > >=20 > > Three of the ports I maintain have decided that the man pages belong in= =20 > > ${PREFIX}/share/man/man(n). Now, reading the Porter's Handbook, it appe= ars=20 > > this is exactly what the MAN[n]PREFIX macro is for, and sure enough aft= er=20 > > removing the man page from pkg-plist and telling the Makefile about it,= the=20 > > ports system compresses the resultant man page in its new location. So = far so=20 > > good. > >=20 > > However, on deinstall, if appeand two lots of ${PREFIX} when trying to = remove=20 > > the man page. For example, grig installs a man page=20 > > to /usr/local/share/man/man1/grig.1 (for a ${PREFIX} of /usr/local). Th= e=20 > > deinstall routine trys to delete grig.1.gz=20 > > from /usr/local/share//usr/local/share/man/man1, which is just a little= =20 > > crazy. Note the two slashes between the two iterations of the MANPREFIX. > >=20 > > Any clues, folks? I'd like to get these updates in before the ports tre= e is=20 > > frozen for 6.2 if at all possible. >=20 > Don't include MANPREFIX=3D${PREFIX}... since it's apparently being used > as ${PREFIX}${MANPREFIX}; you could confirm this by reading > bsd.port.mk. Actually this appears to be incorrect, I'm not sure what is the cause. Kris --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCkhcWry0BWjoQKURAsPOAJ9kH7fvp0KHgp7x1uob6m9QNBZW4wCgs8vj 1Ez/R93oYxApYSTzM2rLl8o= =5x1f -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060915062948.GA93166>