Opened 5 years ago

Closed 5 years ago

#59198 closed defect (fixed)

darwinbuild-legacy: portfile does not set required variables unless on darwin 8 or 9

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: kencu (Ken)
Port: darwinbuild-legacy

Description

The darwinbuild-legacy portfile only calls github.setup on darwin 8 or 9, therefore it fails to work properly on other platforms, for example:

$ port distfiles darwinbuild-legacy
--->  Distfiles for darwinbuild-legacy
Error: Failed to distfiles darwinbuild-legacy: can't read "master_sites": can't read "github.master_sites": can't read "github.homepage": can't read "github.author": no such variable

A port using the github portgroup must always call github.setup.

Change History (1)

comment:1 Changed 5 years ago by kencu (Ken)

Owner: set to kencu
Resolution: fixed
Status: newclosed

In 6e37d9eb095939659d554103ed29120aee74aba8/macports-ports (master):

darwinbuild-legacy: always have something in github.setup

otherwise the github PG won't parse the portfile
closes: #59198

Note: See TracTickets for help on using tickets.