Opened 13 years ago

Closed 3 years ago

#32182 closed defect (fixed)

ksh93: doesn't use the right compiler or arch flags

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: nonstop.server@…
Port: ksh93

Description

ksh93 doesn't ensure it's UsingTheRightCompiler nor using the right build_arch. It has a peculiar complicated non-autoconf build process that makes telling it these options unnecessarily difficult. It allegedly has the ability to specify CC as args (see "bin/package help"), but according to this 2007 message on their mailing list, which received no reply, it doesn't work; I can't get it to work either. It also allegedly supports setting CFLAGS, though I'm not sure about LDFLAGS; I had trouble specifying these as well.

Change History (7)

comment:1 Changed 13 years ago by nonstop.server@…

Cc: nonstop.server@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from brett@… to macports-tickets@…

Brett has retired from MacPorts.

comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

In f3fde48acc6d9c84b382b08e2e0fa8f539964cfc/macports-ports (master):

ksh93: Update to 20181007

Closes: #32182
Closes: #43392

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

In 5bc6083bd8b7959b683d07ee8a74659771794a46/macports-ports (master):

ksh93: Reinstate and revert to 2012-08-01

The ksh community has rejected the past few years' worth of development
that led to the release of ksh 2020.0.0 (currently available in the ksh
and ksh-devel ports). That work has been moved to a branch in the
upstream repo and its master has been reverted to ksh93u+, with no
plans for major further development. The developer who brought us
ksh2020 no longer plans to continue its development either.

Reopens: #32182
Reopens: #43392

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

Resolution: fixed
Status: closedreopened

comment:6 in reply to:  description Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign
Status: reopenedaccepted
Summary: ksh93: compiler, arch flagsksh93: doesn't use the right compiler or arch flags

Replying to ryandesign:

I can't get it to work either.

I'll commit a fix shortly. I filed this ticket in 2011 and we now use the version from 2012. Either they fixed something by 2012 to make this work, or quite possibly I was misled by the fact that this peculiar build system still prints build output claiming that it is compiling using cc, when in fact cc is a wrapper script that calls the compiler we specify.

comment:7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In eef1a7e2b2fcd84a861687541ec2623e2d614fea/macports-ports (master):

ksh93: Use the right flags and compiler

Also honor build.jobs and be more specific about which sh we want.

Closes: #32182

Note: See TracTickets for help on using tickets.