Date: Sun, 30 Jun 2002 21:29:49 -0700 From: Doug Barton <DougB@FreeBSD.org> To: ports@freebsd.org Subject: I need MANPREFIX defined in MAKE_ENV Message-ID: <3D1FDABD.FB034D06@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D1FDABD.FB034D06>