Rob Siemborski wrote:
On Tue, 10 Dec 2002, Hack Kampbjorn wrote:


diff -u sieve/Makefile.in.orig sieve/Makefile.in
--- sieve/Makefile.in.orig      Sat Dec  7 20:31:59 2002
+++ sieve/Makefile.in   Sat Dec  7 20:32:47 2002
@@ -70,6 +70,8 @@
        mv -f y.tab.h sieve.h

 addr-lex.c: addr-lex.l addr.h
+       $(LEX) $(srcdir)/addr-lex.l
+       mv -f lex.addr.c addr-lex.c

 addr.c addr.h: addr.y
        $(YACC) $(YFLAGS) -p addr $(srcdir)/addr.y

What make and lex are you using that requires this?

I don't understand the need for the mv command at all.
This is on a OpenBSD 3.2, so that would be bmake and flex:
$ flex --version
flex version 2.5.4

Without the explicit lex and mv I got this error as flex produced a lex.addr.c file and not lex.yy.c as make expected:
$ make -f Makefile.orig
flex ../../cyrus-imapd-2.1.11.orig/sieve/addr-lex.l
mv lex.yy.c addr-lex.c
mv: lex.yy.c: No such file or directory
*** Error code 1

Stop in /usr/ports/mystuff/mail/cyrus-imapd/w-cyrus-imapd-2.1.11/build/sieve.

What should I do instead?
-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



--
Med venlig hilsen / Kind regards

Hack Kampbjørn

Reply via email to