aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2011-07-11 01:08:06 +0800
committercrees <crees@FreeBSD.org>2011-07-11 01:08:06 +0800
commit9b610d3ccb710587034980f06f70169e21c4c4bc (patch)
tree7523ace45e91147b7a06d82a5c3593ec9385e75b
parenta5b4551a6738a1ac7dff715c24c95c542903201e (diff)
downloadfreebsd-ports-gnome-9b610d3ccb710587034980f06f70169e21c4c4bc.tar.gz
freebsd-ports-gnome-9b610d3ccb710587034980f06f70169e21c4c4bc.tar.zst
freebsd-ports-gnome-9b610d3ccb710587034980f06f70169e21c4c4bc.zip
Fix build with clang
PR: ports/158537 Submitted by: Niclas Zeising <niclas.zeising@gmail.com> Approved by: rene (mentor, implicit)
-rw-r--r--print/lprps-letter/Makefile3
1 files changed, 3 insertions, 0 deletions
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} && \