1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Replace a bashism in configure to fix build

Reported by:	pointyhat via pav
This commit is contained in:
Andrew Pantyukhin 2007-09-07 22:18:05 +00:00
parent 7cd4bc4e34
commit bd4a3af34c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199056

View File

@ -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: