[153943] trunk/dports/science

David Strubbe dstrubbe at macports.org
Mon Oct 17 16:57:36 PDT 2016


I guess the question is: is x11 definitely what pgplot should be linked
with? +x11 is an optional (though default) variant for pgplot (as below).
Is it necessary to use x11 for these LORENE codes to be compiled? For
example, what if they were to use +aquaterm?

pgplot @5.2.2_10 (graphics, devel)
Variants:             aquaterm, docs, dragonegg33, dragonegg34, g95, gcc44,
gcc45, gcc46, gcc47, gcc48, gcc49, gcc5, [+]gcc6, gcc7, [+]x11

Description:          The PGPLOT Graphics Subroutine Library is a Fortran-
or C-callable, device-independent graphics package for making simple
scientific graphs. It is intended for making
                      graphical images of publication quality with minimum
effort on the part of the user. For most applications, the program can be
device-independent, and the output can be
                      directed to the appropriate device at run time.
Homepage:             http://www.astro.caltech.edu/~tjp/pgplot/

Build Dependencies:   perl5, pkgconfig, gcc6
Library Dependencies: libpng, zlib, xorg-libX11, libgcc
Conflicts with:       miriad
Platforms:            darwin
License:              Noncommercial
Maintainers:          mcalhoun at macports.org, openmaintainer at macports.org


On Mon, Oct 17, 2016 at 11:38 AM, Thibaut Paumard <thibaut at macports.org>
wrote:

> This is correct. I will emote the dependency.
>
> Should I also remove -lX11 from LIB_PGPLOT, since libpgplot itself is
> linked with -lX11?
>
> Kind regards, Thibaut.
>
>
> Le 17 oct. 2016 à 20:12, David Strubbe <dstrubbe at macports.org> a écrit :
>
> It appears libX11, in the LIB_PGPLOT variable, is used in principle to
> compile some codes that are not in fact compiled in this package. It looks
> like X11 is only in fact used via pgplot.
>
> On Mon, Oct 17, 2016 at 10:46 AM, Ryan Schmidt <ryandesign at macports.org>
> wrote:
>
>>
>> > On Oct 16, 2016, at 11:57 PM, David Strubbe <dstrubbe at macports.org>
>> wrote:
>> >
>> > Additionally, the dependency port:xorg-libX11 does not seem necessary:
>> I don't see any evidence in the build log that it is used, and the build
>> succeeds without it being active.
>>
>> Are you sure? libX11 is mentioned in local_settings:
>>
>>
>> > > --- trunk/dports/science/LORENE/files/local_settings
>>           (rev 0)
>> > > +++ trunk/dports/science/LORENE/files/local_settings  2016-10-16
>> 17:41:08 UTC (rev 153943)
>>
>> > > +# Graphical libraries: PGPLOT, PNG and X11
>> > > +# ----------------------------------------
>> > > +LIB_PGPLOT = -lcpgplot -lpgplot -lX11
>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20161017/3b16a819/attachment-0001.html>


More information about the macports-dev mailing list