Re: cvs commit: ports/graphics/lcms2 Makefile

看板FB_cvs作者時間14年前 (2011/11/04 16:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/6 (看更多)
On Fri, 4 Nov 2011 07:35:01 +0000 Alexey Dokuchaev <danfe@FreeBSD.org> mentioned: > On Fri, Nov 04, 2011 at 12:20:27AM -0700, Stanislav Sedov wrote: > > On Fri, 4 Nov 2011 03:41:21 +0000 (UTC) > > Alexey Dokuchaev <danfe@FreeBSD.org> mentioned: > > > - Use more standard MANPREFIX instead of MAN1PREFIX which also does not > > > seem to be documented anywhere > > > > It is actually documented in bsd.port.mk, and I don't see a reason to > > Hmm, you're right, it is mentioned in bpm, but I find it a bit hard to > understand: > > # MANPREFIX - The directory prefix for ${MAN<sect>} and ${MLINKS}. > # Default: ${PREFIX} > # MAN<sect>PREFIX > # - If manual pages of some sections install in different > # locations than others, use these. > # Default: ${MANPREFIX} > > In particular, I don't quite get this "some sections install in different > locations than others" part. Why so complicated? What exactly does it > suppose to mean? I have no idea, ask portmgr@. > > > change it to MANPREFIX, as MAN1PREFIX has more semantical information > > in it and correct here, since the manpages installed are meant for the > > section 1 of the manual. > > So how come if it is correct for section N of the manual to use MAN<N>PREFIX > is it only used in bsd.perl.mk? Frankly speaking I've never seen this > variable until today, which means vast majority of ports do not use it... It doesn't make something correct if everybody uses it. I'm not even saing that using MANPREFIX is wrong. It just seems to me that I don't think killing off the correct semantical information from the Makefile is the right thing to do. If hypotetically in the future the FreeBSD project decides to use a different prefix for MAN1 this port will work automatically. OTOH I don't really care -- I don't use ports personally anymore. It was just a suggestion, as I think that MAN1PREFIX is there for a reason. -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
文章代碼(AID): #1Eivk_mO (FB_cvs)
討論串 (同標題文章)
文章代碼(AID): #1Eivk_mO (FB_cvs)