Fix build with clang

PR:		ports/158537
Submitted by:	Niclas Zeising <niclas.zeising@gmail.com>
Approved by:	rene (mentor, implicit)
This commit is contained in:
Chris Rees 2011-07-10 17:08:06 +00:00
parent 056047b8a4
commit ef2503c969
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277470

View file

@ -32,6 +32,9 @@ PS= ${PAPERSIZE:U}
@${FALSE}
.endif
post-patch:
${REINPLACE_CMD} -e 's/^\(CC[^g]*\)cc$$/\1${CC}/' ${WRKSRC}/Makefile
do-install:
${MKDIR} ${DATADIR}
cd ${WRKSRC} && \