tech-pkg archive

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

Re: switching remaining platforms to modular X by default



On Wed, 5 Jun 2013 01:04:00 +0000
David Holland <dholland-pkgtech%netbsd.org@localhost> wrote:

> On Tue, Jun 04, 2013 at 06:28:05PM +0000, David Holland wrote:
>  > When I fell asleep last night I was looking at inserting logic into
>  > bsd.buildlink3.mk (at line 123) to walk the depends tree and clear
>  > USE_BUILTIN=yes for any package that depends on a package with
>  > USE_BUILTIN=no. This isn't entirely trivial. It only fixes problem (1)
>  > though...
> 
> Here goes. This forces USE_BUILTIN.Xft2 to no as desired when
> USE_BUILTIN.fontconfig is no.
> 
> However, we're still going to have to do something about the libXft
> vs. Xft2 issue or applying this change will leave the world broken in
> a different way.
> 

Hello everyone,

I am sorry to break this to you, but this patch breaks almost everything in 
pkgsrc.
No matter what kind of package I try to build, all fail with error-messages 
like this:

make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Need an operator
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Malformed conditional (openssl == x11-links || openssl == -x11-links)
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Need an operator
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Malformed conditional (-openssl == x11-links || -openssl == -x11-links)
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Need an operator
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Malformed conditional (-curl == x11-links || -curl == -x11-links)
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Need an operator
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 138: 
Malformed conditional (!empty(USE_BUILTIN.curl:M[Yy][Ee][Ss]))
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Malformed conditional (jpeg == x11-links || jpeg == -x11-links)
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Need an operator
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Malformed conditional (-jpeg == x11-links || -jpeg == -x11-links)
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Need an operator
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 138: 
Malformed conditional (!empty(USE_BUILTIN.jpeg:M[Yy][Ee][Ss]))
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Malformed conditional (pthread == x11-links || pthread == -x11-links)
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Need an operator
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Malformed conditional (-pthread == x11-links || -pthread == -x11-links)
make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line 133: 
Need an operator


When taking a look at the file

mk/buildlink3/bsd.buildlink3.mk

it's this line, which breaks the world:

.  if ${_pkg_} == x11-links || ${_pkg_} == -x11-links
     # (nothing)

I can't update or install any package right now, and I guess I am not alone 
with that...


Best regards,

Volkmar

-- 
http://www.dimensionv.de/
http://blog.nifelheim.info/tech/

Attachment: pgpEPTfDAzNrT.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index