From owner-freebsd-ports Mon Sep 21 20:41:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA04321 for freebsd-ports-outgoing; Mon, 21 Sep 1998 20:41:09 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA04241 for ; Mon, 21 Sep 1998 20:40:31 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA03584; Mon, 21 Sep 1998 20:40:01 -0700 (PDT) Date: Mon, 21 Sep 1998 20:40:01 -0700 (PDT) Message-Id: <199809220340.UAA03584@freefall.freebsd.org> To: freebsd-ports@FreeBSD.ORG From: VANDERHOEK TIMOTHY MICHAEL Subject: Re: ports/7995: New Port: OpenLDAP 1.0.1 Reply-To: VANDERHOEK TIMOTHY MICHAEL Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/7995; it has been noted by GNATS. From: VANDERHOEK TIMOTHY MICHAEL To: "Lachlan O'Dea" Cc: Tim Vanderhoek , FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: ports/7995: New Port: OpenLDAP 1.0.1 Date: Mon, 21 Sep 1998 23:38:24 -0400 On Mon, 21 Sep 1998, Lachlan O'Dea wrote: > > MLINKS= ldap_real.3 ldap_link.3 > > Sorry if I'm being dense, but my reading of MLINKS is that it it's used to > get bsd.man.mk to make a hard link from ldap_real.3 to ldap_link.3. The > OpenLDAP build process compresses the man pages and then makes the > symlinks itself, so I didn't think MLINKS applied here. "MLINKS" is overloaded. You need to read the MLINKS stuff in bsd.port.mk, not the MLINKS stuff in bsd.man.mk. I can save you a bit of trouble, and tell you that you must just list all linked manpages (whether the port installs them itself or not, wether they are hardlinks or symlinks) in the same fashion as the above-quoted example. The bsd.port.mk version of MLINKS is slightly less trivial than the bsd.man.mk version, but it makes a much more interesting read (saying that as its author :-). > In my first try, I did what the existing port did (put them in PLIST), but > in the second one I just listed all of them in MANX. This seems to work > (probably because the port is MANCOMPRESSED). What you did the second time is broken when NOMANCOMPRESS=yes. > I did sort it with straight sort(1), which means I ended up with it sorted > by section, then by filename. That's ok, isn't it? Yes, you are entirely correct. My mistake. Sorry. -- Me. Who'd you think sent this? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message