Opened 14 years ago
Closed 14 years ago
#25481 closed defect (fixed)
netcdf requires texlive
Reported by: | adfernandes (Andrew Fernandes) | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
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 (1)
Change History (6)
comment:1 follow-up: 2 Changed 14 years ago by jmroot (Joshua Root)
comment:2 Changed 14 years ago by drkp (Dan Ports)
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 14 years ago by adfernandes (Andrew Fernandes)
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 14 years ago by adfernandes (Andrew Fernandes)
Attachment: | Portfile.patch added |
---|
comment:4 Changed 14 years ago by adfernandes (Andrew Fernandes)
Oh yes - almost forgot - I added a missing dependency to szip
... :-)
comment:5 Changed 14 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
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.