aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-09-08 06:18:05 +0800
committersat <sat@FreeBSD.org>2007-09-08 06:18:05 +0800
commit73e06d144a3efdb5728fe7ef1bf14b1f5fac57c8 (patch)
tree9369628c05c458a8dcc3ab4f819a266c61fca449 /misc
parent2749dfbe08fc2ceb2e5c39bc0ab61bf56ca47b85 (diff)
downloadfreebsd-ports-gnome-73e06d144a3efdb5728fe7ef1bf14b1f5fac57c8.tar.gz
freebsd-ports-gnome-73e06d144a3efdb5728fe7ef1bf14b1f5fac57c8.tar.zst
freebsd-ports-gnome-73e06d144a3efdb5728fe7ef1bf14b1f5fac57c8.zip
- Replace a bashism in configure to fix build
Reported by: pointyhat via pav
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: