summaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2002-05-17 10:05:18 +0000
committertg <tg@FreeBSD.org>2002-05-17 10:05:18 +0000
commit5ed2557bf546d7e3e89feccf8d48c025505ac606 (patch)
treeb6c8c2e67909f93be8d5894880f2ad2dd6339c05 /shells
parent2cdacf2fb427b25dc15c9425a80abc4060152dca (diff)
downloadFreeBSD-ports-5ed2557bf546d7e3e89feccf8d48c025505ac606.zip
FreeBSD-ports-5ed2557bf546d7e3e89feccf8d48c025505ac606.tar.gz
Serves me right to commit something in a hurry, untested. <:-(
Fix fetching. PR: 38144 Submitted by: Alan Eldridge <ports@geeksrus.net>
Diffstat (limited to 'shells')
-rw-r--r--shells/pdksh/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/pdksh/Makefile b/shells/pdksh/Makefile
index 8208bdb..6951edc 100644
--- a/shells/pdksh/Makefile
+++ b/shells/pdksh/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= ftp://ftp.cs.mun.ca/pub/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}
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/p.*//}
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= ${DISTNAME}-patches.1 ${DISTNAME}-patches.2
@@ -26,7 +26,7 @@ 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} ",s/v${PORTVERSION:C/p.*//}/v${PORTVERSION:S/p/./}/"; \
${ECHO_CMD} "wq") | ed -s ${WRKSRC}/version.c
post-install:
OpenPOWER on IntegriCloud