dtksh: use bin/package flat make instead of shell
Shell isn't portable, so upstream ksh93 has a "flat" function that we can use to put binaries in a static place that doesn't require a shell command. We still do need an intermediate setup.sh shell script due to a bug in ksh that object files aren't being put in lib, and FEATURE not in include. We also cut out some unused symbols, and a hpux specific implementation of dynlib (new hpux should conform to the posix implementation anyhow.)
This commit is contained in:
9
cde/programs/dtksh/setup.sh
Executable file
9
cde/programs/dtksh/setup.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
#this script is necessary due to a bug in ksh where flat make doesnt actually
|
||||
#put all assets we need in the proper directories
|
||||
|
||||
HOSTDIR=$(./ksh93/bin/package host)
|
||||
|
||||
cp ./ksh93/arch/$HOSTDIR/src/cmd/ksh93/pmain.o pmain.o
|
||||
ln -s ./ksh93/arch/$HOSTDIR/src/cmd/ksh93/FEATURE FEATURE
|
||||
Reference in New Issue
Block a user