Opened 15 years ago

Closed 9 years ago

#22899 closed defect (fixed)

librets-1.4.0 Configure error - build fails by default

Reported by: konistehrad@… Owned by: josephholsten@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: haspatch Cc: kurthindenburg (Kurt Hindenburg)
Port: librets

Description

Problem: librets-1.4.0 will currently attempt to build the .NET SWIG bindings by default, causing the build to fail on systems without swig-csharp installed.

Solution: --disable-dotnet should be included by default in the Portfile's configure script, and explicitly enabled by the inclusion of +csharp variant switch. The +csharp variant should depend on swig-csharp, which should build all the necessary dependencies.

Patch included.

Attachments (3)

Portfile.patch (548 bytes) - added by konistehrad@… 15 years ago.
installed.txt (4.1 KB) - added by konistehrad@… 15 years ago.
List of installed ports. System is Snow Leopard (10.6.2). port version is 1.8.0.
Portfile-librets.diff (418 bytes) - added by joseph@… 15 years ago.
This doesn't include the csharp variant because I'm not having success building it.

Download all attachments as: .zip

Change History (10)

Changed 15 years ago by konistehrad@…

Attachment: Portfile.patch added

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: haspatch added; librets build removed
Owner: changed from macports-tickets@… to joseph@…

comment:2 in reply to:  1 Changed 15 years ago by joseph@…

Can't reproduce. Care to share some info about your environment?

Patch seems reasonable though, I'll make sure it works tonight.

Changed 15 years ago by konistehrad@…

Attachment: installed.txt added

List of installed ports. System is Snow Leopard (10.6.2). port version is 1.8.0.

comment:3 Changed 15 years ago by joseph@…

I don't have Snow Leopard on hand, so I'll assume you've got a real issue. But I can't seem to build your csharp variant. Have you managed to build it successfully?

Changed 15 years ago by joseph@…

Attachment: Portfile-librets.diff added

This doesn't include the csharp variant because I'm not having success building it.

comment:4 Changed 15 years ago by konistehrad@…

No, it's also failing for me. I (admittedly) put the csharp variant in without testing. I assumed that, since you weren't having build problems before, it simply was a dependency issue. Feel free to pull it.

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from joseph@… to josephholsten@…

comment:6 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:7 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

I update this port to 1.6.1 r144181

Note: See TracTickets for help on using tickets.