[packages/screen] - make sure fifos are enabled

arekm arekm at pld-linux.org
Wed Dec 12 21:11:37 CET 2012


commit c1278ff1d4b46e53589ada198117f76b2f2d0c31
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Dec 12 21:11:34 2012 +0100

    - make sure fifos are enabled

 screen.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/screen.spec b/screen.spec
index cc2c43d..7dc3762 100644
--- a/screen.spec
+++ b/screen.spec
@@ -161,6 +161,8 @@ CFLAGS="%{rpmcflags} -DMAXWIN=256"
 	--with-pty-group=5 \
 	--disable-socket-dir
 
+%{?with_fifo:grep -q "define.*NAMEDPIPE.*1" config.h || echo "bcond with fifo but fifos not enabled!" && exit 1}
+
 %{__make} -j1
 
 cd doc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/screen.git/commitdiff/c1278ff1d4b46e53589ada198117f76b2f2d0c31



More information about the pld-cvs-commit mailing list