From owner-freebsd-ports Sun Jun 30 21:29:53 2002 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 127B637B400 for ; Sun, 30 Jun 2002 21:29:51 -0700 (PDT) Received: from mail-relay1.yahoo.com (mail-relay1.yahoo.com [216.145.48.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id B19F043E0A for ; Sun, 30 Jun 2002 21:29:50 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from FreeBSD.org (12-234-90-219.client.attbi.com [12.234.90.219]) by mail-relay1.yahoo.com (Postfix) with ESMTP id 4D71F8B5C9 for ; Sun, 30 Jun 2002 21:29:50 -0700 (PDT) Message-ID: <3D1FDABD.FB034D06@FreeBSD.org> Date: Sun, 30 Jun 2002 21:29:49 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.79 [en] (X11; U; FreeBSD 4.6-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: ports@freebsd.org Subject: I need MANPREFIX defined in MAKE_ENV Content-Type: multipart/mixed; boundary="------------7A21299AED526465E7B53BE3" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------7A21299AED526465E7B53BE3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Howdy, I recently created a patch for bsd.port.mk that properly defines MANPREFIX when PREFIX = /usr. However, when I started using it in my ports, I noticed it wasn't defined in MAKE_ENV, so I have to add 'MAKE_ENV+= MANPREFIX=${MANPREFIX}' in the Makefile. The attached patch solves this issue. The reason I think this is worth putting in bsd.port.mk is that some of us are working on more ports that replace functionality in the base system, so being able to use this transparently would be quite convenient. I also think that other ports would probably benefit. Doug -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? --------------7A21299AED526465E7B53BE3 Content-Type: text/plain; charset=us-ascii; name="bsd.port.mk.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bsd.port.mk.diff" Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.416 diff -u -r1.416 bsd.port.mk --- bsd.port.mk 28 Jun 2002 12:20:03 -0000 1.416 +++ bsd.port.mk 1 Jul 2002 04:23:27 -0000 @@ -1101,7 +1101,7 @@ MAKE_FLAGS?= -f MAKEFILE?= Makefile -MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} MOTIFLIB="${MOTIFLIB}" LIBDIR="${LIBDIR}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" +MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} MOTIFLIB="${MOTIFLIB}" LIBDIR="${LIBDIR}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" MANPREFIX="${MANPREFIX}" .if ${OSVERSION} < 500016 PTHREAD_CFLAGS= -D_THREAD_SAFE --------------7A21299AED526465E7B53BE3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message