tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38392: x11/xxkb - support for different PKGMANDIR



> we can perhaps resort to just moving the installed man pages after
> they are installed to put them in to the right place.

Oh :-(.  Is the following worse?  It works.

Index: mk/bsd.pkg.use.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.use.mk,v
retrieving revision 1.46
diff -u -r1.46 bsd.pkg.use.mk
--- mk/bsd.pkg.use.mk   7 Feb 2008 12:26:55 -0000       1.46
+++ mk/bsd.pkg.use.mk   9 Apr 2008 18:18:50 -0000
@@ -46,6 +46,8 @@
 
 .if defined(USE_IMAKE)
 MAKE_FLAGS+=           CC=${CC:Q} CXX=${CXX:Q}
+MAKE_FLAGS+=           MANPATH=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=           MANSOURCEPATH=${PREFIX}/${PKGMANDIR}/cat
 .endif
 
 .if defined(USE_X11BASE) && ${X11_TYPE} != "modular"

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index