diff options
Diffstat (limited to 'shells/pdksh')
-rw-r--r-- | shells/pdksh/Makefile | 11 | ||||
-rw-r--r-- | shells/pdksh/distinfo | 2 | ||||
-rw-r--r-- | shells/pdksh/files/patch-aa | 17 |
3 files changed, 12 insertions, 18 deletions
diff --git a/shells/pdksh/Makefile b/shells/pdksh/Makefile index a38e18e..588036f 100644 --- a/shells/pdksh/Makefile +++ b/shells/pdksh/Makefile @@ -6,13 +6,18 @@ # PORTNAME= pdksh -PORTVERSION= 5.2.14 +PORTVERSION= 5.2.14.p2 CATEGORIES= shells MASTER_SITES= ftp://ftp.cs.mun.ca/pub/pdksh/ \ http://gd.tuwien.ac.at/utils/shells/pdksh/ \ ftp://ftp.lip6.fr/pub/unix/shells/pdksh/ \ ftp://ftp.demon.net/pub/mirrors/pdksh/ \ ftp://ftp.rge.com/pub/shells/pdksh/ +DISTNAME= ${PORTNAME}-${PORTVERSION:N*p*}${PORTVERSION:M*p*:R} + +PATCH_SITES= ${MASTER_SITES} +PATCHFILES= ${DISTNAME}-patches.1 ${DISTNAME}-patches.2 +PATCH_DIST_STRIP= -p2 MAINTAINER= tg@FreeBSD.org @@ -20,6 +25,10 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= LDSTATIC=-static MAN1= ksh.1 +post-patch: + @(${ECHO_CMD} ",s/v${PORTVERSION:N*p*}${PORTVERSION:M*p*:R} /v${PORTVERSION:S/p//} /"; \ + ${ECHO_CMD} "wq") | ed -s ${WRKSRC}/version.c + post-install: @${ECHO} "Updating /etc/shells" @${CP} /etc/shells /etc/shells.bak diff --git a/shells/pdksh/distinfo b/shells/pdksh/distinfo index 2a7154e..f1cd49d 100644 --- a/shells/pdksh/distinfo +++ b/shells/pdksh/distinfo @@ -1 +1,3 @@ MD5 (pdksh-5.2.14.tar.gz) = 871106b3bd937e1afba9f2ef7c43aef3 +MD5 (pdksh-5.2.14-patches.1) = c91364eb3de43a052c53d263000fe14c +MD5 (pdksh-5.2.14-patches.2) = 77d7e089e9fe9ca396d520c728f25136 diff --git a/shells/pdksh/files/patch-aa b/shells/pdksh/files/patch-aa deleted file mode 100644 index e2b07f5..0000000 --- a/shells/pdksh/files/patch-aa +++ /dev/null @@ -1,17 +0,0 @@ ---- jobs.c.orig Tue Jul 13 18:50:56 1999 -+++ jobs.c Wed Jul 21 08:10:45 1999 -@@ -1846,6 +1846,7 @@ - int alen; - char **ap; - -+#if 0 - if (t->type == TEXEC || t->type == TCOM) { - /* Causes problems when set -u is in effect, can also - cause problems when array indices evaluated (may have -@@ -1870,5 +1871,6 @@ - } - *c = '\0'; - } else -+#endif - snptreef(c, len, "%T", t); - } |