[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Re: NEW: x11/xmobar
From:       Jona Joachim <jaj () hcl-club ! lu>
Date:       2010-04-29 21:26:25
Message-ID: 20100429212625.GA6224 () fuckup ! hcl-club ! lu
[Download RAW message or body]

On Thu, Apr 29, 2010 at 07:19:33PM +0200, Matthias Kilian wrote:
> Hi,
> 
> On Thu, Apr 29, 2010 at 10:41:27AM +0200, David Coppa wrote:
> > > xmobar minimalistic statusbar.
> > 
> > Two comments (portswise speaking): 
> > 
> > "PKGNAME = ${DISTNAME}" is not needed in both ports.
> > 
> > "nort" should be added to MODGHC_BUILD for xmobar.
> 
> The ghc module currently works as follows:
> 
> - If a port is a Haskell library (and is useless without ghc and
>   ghc-pkg), you don't add `nort' to MODGHC_BUILD. In this case, PKGNAME
>   will be automatically set to hs-${DISTNAME} and lang/ghc will be
>   added to RUN_DEPENDS.
> 
> - If a port is just a program and is useful standalone (i.e. without ghc
>   installed), add `nort' to MODGHC_BUILD. In this case neither PKGNAME
>   is touched (i.e. it defaults to ${DISTNAME} without the `hs-' prefix)
>   nor is lang/ghc added to RUN_DEPENDS.
> 
> 
> For xmonad-contrib: well, it's a Haskell library, but I'm not sure
> wether it should be named `hs-xmonad-contrib' (it's not very useful
> except for xmonad, so a `hs-' prefix may be a little bit misleading).
> 
> Anyway, I'm fine with both variants, xmonad-contrib or hs-xmonad-contrib.
> 
> For xmobar it's exactly as you wrote: add `nort' and remove the
> PKGNAME=${DISTNAME}.

Yes, thank you, I missed the nort knob.
Here's the updated port:
http://www.hcl-club.lu/~jaj/stuff/xmobar.tar.gz

Best regards,
Jona

-- 
Worse is better
    Richard P. Gabriel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic