Opened 11 years ago

Closed 11 years ago

#43585 closed defect (fixed)

terra @ 0.7 use MacPorts defaults for compiler and options

Reported by: lockhart (Thomas Lockhart) Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch, maintainer Cc: ryandesign (Ryan Carsten Schmidt)
Port: terra

Description

This updated Portfile and restructured patch files use compilers and options from the MacPorts configure.cc, configure.cxx, and configure.optflags settings. Patch files are renamed to the MacPorts standard as indicated by "port lint --nitpick". The original patch file "terra.patches" is no longer used and can be deleted. Per feedback from Ryan and Bradley.

Attachments (3)

Portfile.diff (1.2 KB) - added by lockhart (Thomas Lockhart) 11 years ago.
Patch to use configure variables for compilers and options. Use refactored patch files.
patch-compiler.diff (10.1 KB) - added by lockhart (Thomas Lockhart) 11 years ago.
Patches to update code for modern compilers.
patch-opengl.diff (3.1 KB) - added by lockhart (Thomas Lockhart) 11 years ago.
Patches to enable window resizing.

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by lockhart (Thomas Lockhart)

Attachment: Portfile.diff added

Patch to use configure variables for compilers and options. Use refactored patch files.

Changed 11 years ago by lockhart (Thomas Lockhart)

Attachment: patch-compiler.diff added

Patches to update code for modern compilers.

Changed 11 years ago by lockhart (Thomas Lockhart)

Attachment: patch-opengl.diff added

Patches to enable window resizing.

comment:1 Changed 11 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… removed
Owner: changed from macports-tickets@… to pixilla@…

My initial commit did not include the correct files. Fixes (including Ryans) will be committed shortly.

comment:2 Changed 11 years ago by pixilla (Bradley Giesbrecht)

Tom: Ryan: Does r119779 implement the corrections properly?

comment:3 in reply to:  2 ; Changed 11 years ago by lockhart (Thomas Lockhart)

Replying to pixilla@…:

Tom: Ryan: Does r119779 implement the corrections properly?

Looks fine to me. I left in the patching on the Makefile but then replaced some of the results with reinplace substitutions per Ryan. I think that should be OK, and keeping the patches acts as a marker for all of the places which need to be updated in that file.

comment:4 in reply to:  3 Changed 11 years ago by pixilla (Bradley Giesbrecht)

Replying to tlockhart1976@…:

Replying to pixilla@…:

Tom: Ryan: Does r119779 implement the corrections properly?

Looks fine to me. I left in the patching on the Makefile but then replaced some of the results with reinplace substitutions per Ryan. I think that should be OK, and keeping the patches acts as a marker for all of the places which need to be updated in that file.

I like to know when a file changes enough to cause a patch to fail rather then have reinplace simply miss and the build continue.

Last edited 11 years ago by pixilla (Bradley Giesbrecht) (previous) (diff)

comment:5 Changed 11 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r119779

Note: See TracTickets for help on using tickets.