From ef2503c9698546284df1538a3301d03d929a4874 Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Sun, 10 Jul 2011 17:08:06 +0000 Subject: [PATCH] Fix build with clang PR: ports/158537 Submitted by: Niclas Zeising Approved by: rene (mentor, implicit) --- print/lprps-letter/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/print/lprps-letter/Makefile b/print/lprps-letter/Makefile index 9b76d902dc82..9e6e1acb9174 100644 --- a/print/lprps-letter/Makefile +++ b/print/lprps-letter/Makefile @@ -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} && \