get portfiles from all sources

Ken Cunningham ken.cunningham.webuse at gmail.com
Mon Jul 3 15:29:11 UTC 2017


> 
> Then this is a problem with the documentation. I am not sure how else
> this could be expressed, but you will never see "duplicate ports" with
> the same name.

As they said in "Independence Day" -- that may not be entirely true, Mr. President.

I have a local report /opt/myports, and in there have a port for PPC for libsdl2 I've been working on.

Look at this:

$ port search libsdl2
libsdl2 @2.0.3 (devel, multimedia)
    Cross-platform multi-media development API

libsdl2 @2.0.5_1 (devel, multimedia)
    Cross-platform multi-media development API

libsdl2_image @2.0.1 (devel, graphics)
    Add on library for libSDL handling several image formats

libsdl2_mixer @2.0.1 (audio, devel)
    Audio mixer library for SDL

libsdl2_net @2.0.1 (devel, net)
    cross-platform networking library

libsdl2_ttf @2.0.14 (devel, graphics)
    add on library for libSDL for rendering TrueType fonts

Found 6 ports.

$ port file libsdl2
/opt/myports/devel/libsdl2/Portfile


It's finding the correct one, but still is showing the one in the main repo when I look. 
I updated the portindex in the local repo - same thing
If I disable the repo in sources.conf:

$ port search libsdl2
libsdl2 @2.0.5_1 (devel, multimedia)
    Cross-platform multi-media development API

libsdl2_image @2.0.1 (devel, graphics)
    Add on library for libSDL handling several image formats

libsdl2_mixer @2.0.1 (audio, devel)
    Audio mixer library for SDL

libsdl2_net @2.0.1 (devel, net)
    cross-platform networking library

libsdl2_ttf @2.0.14 (devel, graphics)
    add on library for libSDL for rendering TrueType fonts


$ port file libsdl2
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libsdl2/Portfile


=======

go figure, eh?

Ken


More information about the macports-users mailing list