mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
system/pdksh: Build bump.
Compile with LFS CFLAGS. This fixes a bug with filename completion when the file's size is bigger than 2GiB. Thanks to Daniel LEVAI.
This commit is contained in:
parent
cf778870f7
commit
b6928e7c7d
3 changed files with 25 additions and 18 deletions
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# Copyright (c) 2009, Daniel LEVAI
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (c) 2009, 2010 Daniel LEVAI
|
||||
# All rights reserved.
|
||||
#
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
|
@ -13,8 +13,8 @@
|
|||
# * Neither the name of the <organization> nor the
|
||||
# names of its contributors may be used to endorse or promote products
|
||||
# derived from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY <copyright holder> ''AS IS'' AND ANY
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY
|
||||
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
|
||||
|
@ -30,7 +30,7 @@
|
|||
PRGNAM=pdksh
|
||||
VERSION=5.2.14
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-3}
|
||||
BUILD=${BUILD:-4}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
|
@ -41,8 +41,8 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
if [ "${ARCH}" == "i486" ];then
|
||||
SLKCFLAGS='-O2 -march=i486 -mtune=i686'
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" == "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" == "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "${ARCH}" == "x86_64" ];then
|
||||
SLKCFLAGS='-O2 -fPIC'
|
||||
|
@ -68,9 +68,9 @@ for patch in "${CWD}"/patches/*;do
|
|||
patch -p1 < "${patch}"
|
||||
done
|
||||
|
||||
|
||||
# we are lying here with defining DEBIAN, but so many patches are depending on this, we must use it...
|
||||
CFLAGS="$SLKCFLAGS -DDEBIAN" \
|
||||
# we are lying here with defining DEBIAN, but so many patches are depending
|
||||
# on this, we must use it...
|
||||
CFLAGS="$SLKCFLAGS $(getconf LFS_CFLAGS) -DDEBIAN" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/ \
|
||||
|
@ -88,7 +88,7 @@ gzip -9 $PKG/usr/man/man1/pdksh.1
|
|||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
BUG-REPORTS ChangeLog CONTRIBUTORS IAFA-PACKAGE \
|
||||
BUG-REPORTS ChangeLog.0 ChangeLog CONTRIBUTORS IAFA-PACKAGE \
|
||||
INSTALL LEGAL NEWS NOTES PROJECTS README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
|
|||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Daniel LEVAI"
|
||||
EMAIL="leva@ecentrum.hu"
|
||||
APPROVED="michiel"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
|-----handy-ruler------------------------------------------------------|
|
||||
pdksh: PD-ksh is a clone of the AT&T Korn shell.
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
pdksh: PD-ksh (a clone of the AT&T Korn shell)
|
||||
pdksh:
|
||||
pdksh: PD-ksh has most of the ksh88 features, not much of the ksh93 features,
|
||||
pdksh: and a number of its own features.
|
||||
pdksh: Strong points are:
|
||||
pdksh: It is free and quite portable - you should be able to compile it easily
|
||||
pdksh: on pretty much any unix box.
|
||||
pdksh: It is free and quite portable - you should be able to compile it
|
||||
pdksh: easily on pretty much any unix box.
|
||||
pdksh: The vi editing mode is better (IMHO) than that of ksh88 or ksh93
|
||||
pdksh: (command/file completion using tab (optional), less buggy).
|
||||
pdksh: Its weak points are that there are still a few differences from ksh88.
|
||||
|
|
Loading…
Reference in a new issue