New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #25481 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

netcdf requires texlive

Reported by: adfernandes@… Owned by: takeshi@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: netcdf

Description

As per change r68036, can we please add a docs variant, off by default, to avoid requiring all of [much swearing deleted] texlive? That stuff is just huge, and I already have texlive installed (not through MacPorts).

Seriously - this is a major dependency that really is not needed, in my opinion.

BTW - I have tex in my $PATH, so I'm presuming that depends_build bin:tex:texlive should find it, but it does't, and hence my upgrade attempts to build texlive-common.

Attachments

Portfile.patch (1.2 KB) - added by adfernandes@… 3 years ago.

Change History

comment:1 follow-up: ↓ 2 Changed 3 years ago by jmr@…

With the new texlive ports, you can probably depend on the subset that you actually need instead of pulling in the whole metaport. It would still be better as a variant of course.

comment:2 in reply to: ↑ 1 Changed 3 years ago by dports@…

Replying to jmr@…:

With the new texlive ports, you can probably depend on the subset that you actually need instead of pulling in the whole metaport. It would still be better as a variant of course.

This should work, but it's probably still going to be a pretty large dependency.

See also #25203 about plans for a tex metaport that either texlive or MacTeX should be able to satisfy.

comment:3 Changed 3 years ago by adfernandes@…

takeshi, can you provide some insight into why r68036 was needed?

I just carefully adjusted my path to eliminate anything TeX in it and verified a build and install +gcc44 with the attached change to the portfile.

No problems installing and activating. A careful check of the log showed that no tex-related files were used in the build and install.

Changed 3 years ago by adfernandes@…

comment:4 Changed 3 years ago by adfernandes@…

Oh yes - almost forgot - I added a missing dependency to szip... :-)

comment:5 Changed 3 years ago by takeshi@…

  • Status changed from new to closed
  • Resolution set to fixed

Sorry for slow response. I don't remember why I added dependency to tex (only a month ago!) I don't think you need to tex or texinfo to install docs. szip is only required with hdf4/hdf5-18 (via netcdf4 variants) . szlib should go to these variants. committed in r69355.

Note: See TracTickets for help on using tickets.