Building a local subport

Freek Dijkstra software at
Wed Jul 31 14:20:56 PDT 2013

Freek Dijkstra asked:

>> I realised I don't want to build py-pypdf2 but rather py27-pypdf2. How
>> do I specify the Python version to use? "port build py27-pypdf2" seems
>> to check the Port database, and ignores the local folder.

Jeremy Lavergne wrote:

> You want to append "subport=$name" to the command:
>  "sudo port build subport=py27-pypdf2"

Thanks, Jeremey!

This info doesn't seem to be present in the man page or the online
guide. I like to see it added. Should I create a trac ticket or is this
email thread sufficient?


More information about the macports-users mailing list