[packages/pdksh] - use cpp -P option, because siglist.sh gets confused by lines split in the middle

qboosh qboosh at pld-linux.org
Sat Mar 17 10:12:36 CET 2018


commit b7998d7b97d883fb2616193de8bb4f08172062bb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 17 10:15:15 2018 +0100

    - use cpp -P option, because siglist.sh gets confused by lines split in the middle

 pdksh.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pdksh.spec b/pdksh.spec
index 8fcedb7..9e1cd91 100644
--- a/pdksh.spec
+++ b/pdksh.spec
@@ -134,7 +134,8 @@ LDFLAGS="%{rpmcflags} %{rpmldflags}"
 %configure2_13 \
 	--enable-emacs \
 	--enable-vi
-%{__make}
+%{__make} \
+	CPP="%{__cc} -E -P"
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pdksh.git/commitdiff/b7998d7b97d883fb2616193de8bb4f08172062bb



More information about the pld-cvs-commit mailing list