From 858a5cf6d6f7bbe6399ca59105316833a639bf19 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sun, 25 Nov 2001 11:54:58 +0000 Subject: [PATCH] fix building under Linux and Solaris --- ispell/ispell.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ispell/ispell.spec b/ispell/ispell.spec index 6dd27dc136..cdf30c3e2c 100644 --- a/ispell/ispell.spec +++ b/ispell/ispell.spec @@ -78,6 +78,9 @@ AutoReqProv: no echo "#define MAN4DIR \"%{l_prefix}/man/man4\"" echo "#define WORDS \"$RPM_BUILD_DIR/words\"" echo "#define YACC \"%{l_prefix}/bin/bison -y\"" + case "%{l_target}" in + *-linux* | *-solaris* ) echo "#define USG" ;; + esac #echo "#define LANGUAGES \"{american,MASTERDICTS=american.med+,HASHFILES=americanmed+.hash,EXTRADICT=$RPM_BUILD_DIR/words}\"" ) >local.h %{l_make} %{l_mflags}