aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-09-07 22:18:05 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-09-07 22:18:05 +0000
commitbd4a3af34c8e24f7eb4ddc5f696335b97bba4a2a (patch)
tree727a1dfd4919179f29d1f8b7083a2464313e638d /misc
parent7cd4bc4e347615fec1f1fb724f9f0ded045dd544 (diff)
downloadports-bd4a3af34c8e24f7eb4ddc5f696335b97bba4a2a.tar.gz
ports-bd4a3af34c8e24f7eb4ddc5f696335b97bba4a2a.zip
- Replace a bashism in configure to fix build
Reported by: pointyhat via pav
Notes
Notes: svn path=/head/; revision=199056
Diffstat (limited to 'misc')
-rw-r--r--misc/toilet/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/toilet/Makefile b/misc/toilet/Makefile
index 296a776d5e57..a22069977e2d 100644
--- a/misc/toilet/Makefile
+++ b/misc/toilet/Makefile
@@ -22,9 +22,8 @@ MAN1= ${PORTNAME}.1
PORT_VERBS= ${PORTNAME} caca2tlf share/figlet/*tlf
post-patch:
- @${REINPLACE_CMD} -e '/CFLAGS=/d;\
- s| date.*stamp| date -jf"%Y-%m-%d" "$$stamp" +"%e %B %Y|'\
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/CFLAGS=/d;/ac_build_date=/s|=.*|="$$stamp"|'\
+ ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|\$$\^|$${.ALLSRC}|' ${WRKSRC}/doc/Makefile.in
post-install: