Opened 13 years ago

Closed 13 years ago

#30260 closed defect (fixed)

hdf4: installed files contain -arch flags

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: hdf4

Description

Some of hdf4's installed files (h4cc and libhdf4.settings) contain the -arch flags with which the hdf4 port was built. This is not desired; see PortfileRecipes. This may be the real cause of #29881; fixing this may mean you can remove the workaround added in r80888.

Change History (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Looks like libhdf4.settings is just a text file describing how the port was configured, so it doesn't matter if -arch flags are in there. But h4cc is the compiler that other ports will use; having -arch flags in there will mess up other ports' ability to compile for the arch the user requested.

comment:2 Changed 13 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Ryan, thank you for valuable help. Committed in r80920.

Note: See TracTickets for help on using tickets.