Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#54600 closed update (fixed)

angband @4.0.5: update to 4.1.0

Reported by: l2dy (Zero King) Owned by: jfcaron3
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch maintainer Cc:
Port: angband

Description


Attachments (2)

Portfile-angband.diff (846 bytes) - added by jfcaron3 7 years ago.
Portfile patch to update angband to 4.1.0.
0001-angband-update-to-4.1.0-use-the-right-compiler.patch (1.6 KB) - added by l2dy (Zero King) 7 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by jfcaron3

Attachment: Portfile-angband.diff added

Portfile patch to update angband to 4.1.0.

comment:1 Changed 7 years ago by jfcaron3

I made a patch following the instructions on the Guide. I had to add a line about worksrcdir because the latest source archive doesn't untar into the expected ${name}-${version} folder, it untars into a folder called angband-master.

comment:2 Changed 7 years ago by raimue (Rainer Müller)

Keywords: haspatch maintainer added

Changed 7 years ago by l2dy (Zero King)

comment:3 Changed 7 years ago by l2dy (Zero King)

I added CC=${configure.cc} to use the right compiler, see wiki:UsingTheRightCompiler for details.

@jfcaron3, OK to commit?

comment:4 Changed 7 years ago by jfcaron3

Not sure why CC=${configure.cc} is necessary, even after reading the UsingTheRightCompiler page twice. My interpretation of the page is that MacPorts will automatically tell configure to use the XCode compiler, UNLESS you set the CC variable...

"For most ports, the default compiler chosen by MacPorts is the one that should be used"

Anyways, you probably know more about this than I do, so sure go ahead and commit.

comment:5 Changed 7 years ago by l2dy (Zero King)

Resolution: fixed
Status: newclosed

In 313e76ad3b2ef95a0196d4cfbe315ba97249b28d/macports-ports:

angband: update to 4.1.0, use the right compiler

Fixes: #54600

comment:6 in reply to:  4 Changed 7 years ago by l2dy (Zero King)

Replying to jfcaron3:

Not sure why CC=${configure.cc} is necessary, even after reading the UsingTheRightCompiler page twice. My interpretation of the page is that MacPorts will automatically tell configure to use the XCode compiler, UNLESS you set the CC variable...

"For most ports, the default compiler chosen by MacPorts is the one that should be used"

Without CC=${configure.cc}, angband will build with its default compiler rather than the compiler chosen by MacPorts.

Last edited 7 years ago by l2dy (Zero King) (previous) (diff)
Note: See TracTickets for help on using tickets.