Subject: Re: fvwm2-themes cannot depend on fvwm-devel?
To: Geert Hendrickx <geert.hendrickx@ua.ac.be>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 02/21/2005 16:40:13
On Mon, 21 Feb 2005 16:29:21 +0100
"Geert Hendrickx" <geert.hendrickx@ua.ac.be> wrote:
> Hi,
>
> I have installed fvwm-devel (2.5.12), and now I want to install
> fvwm2-themes, which depends on fvwm2. But it won't accept fvwm-devel as a
> dependency:
>
> # ls -d /var/db/pkg/fvwm*
> /var/db/pkg/fvwm-devel-2.5.12nb1
> # pwd
> /usr/pkgsrc/wm/fvwm2-themes
> # make install-depends
> ===> Required package fvwm2>=2.4.8: NOT found
> ===> Verifying reinstall for ../../wm/fvwm2
>
> How should I deal with this?
>
> Can I modify the Makefile so that it looks for either fvwm2 or fvwm-devel?
> (and install the more stable fvwm2 when neither is found?)
Yes, try something like this:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/wm/fvwm2-themes/Makefile,v
retrieving revision 1.8
diff -b -u -b -u -r1.8 Makefile
--- Makefile 3 Oct 2004 00:18:23 -0000 1.8
+++ Makefile 21 Feb 2005 15:39:56 -0000
@@ -14,7 +14,7 @@
HOMEPAGE= http://fvwm-themes.sourceforge.net/
COMMENT= Configuration framework for fvwm2 with samples
-DEPENDS+= fvwm2>=2.4.8:../../wm/fvwm2
+DEPENDS+= {fvwm2,fvwm-devel}>=2.4.8:../../wm/fvwm2
THEM_VER= 0.6.2
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}