pkgsrc-WIP-review archive

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

Re: CVS commit: wip/dwm



On Thu, May 14, 2009 at 09:23:49PM +0200, Leonardo Taccari wrote:
> 
> On Sun, May 10, 2009 at 09:08:10PM +0200, Thomas Klausner wrote:
> > Seems like the code in options.mk needs fixing?
> You are completely right, I'm sorry for that, it was my mistake (I
> tested and built it only with "xinerama" option for this last release
> and I didn't saw that config.mk changed in this release).
>
>
> PKG_DESTDIR_SUPPORT=  user-destdir
> (...)
> SUBST_SED.makefile+=  -e 's,/usr/local,${PREFIX},g'
> SUBST_SED.makefile+=  -e 's,share/man,${PKGMANDIR},g'

Since the package claims PKG_DESTDIR_SUPPORT, you should put
${DESTDIR} somewhere when doing these substitutions.

Instead of using SUBST you could also override do-install:

   do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/dwm ${DESTDIR}${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/dwm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

(excerpt from wm/dwm)



   Petar Bogdanovic




------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review


Home | Main Index | Thread Index | Old Index