Applied patch from Mike Pittelkow <mikep@isd.net> to compile under FreeBSD

SVN revision: 1625
This commit is contained in:
Stefan Ritt 2006-01-20 06:53:40 +00:00
parent 4e4ed5565d
commit 3c960cad0d
3 changed files with 15 additions and 3 deletions

View File

@ -60,6 +60,14 @@ BINOWNER = root
BINGROUP = admin
endif
ifeq ($(OSTYPE),FreeBSD)
CC = gcc
BINOWNER = root
BINGROUP = wheel
endif
CFLAGS += -DOS_$(OSTYPE)
all: $(EXECS)
regex.o: src/regex.c src/regex.h

View File

@ -12,14 +12,14 @@ On PC4534:
- Do a "make loc"
- Translate new strings in eloglang.german
- c:\elog> svn ci -m "Release x.x.x-y"
- Copy Tag to file:///y:/svn/elog/tags/version_x.x.x, name it "Version x.x.x"
- Create Tag from c:\elog to file:///y:/svn/elog/tags/version_x.x.x, name it "Version x.x.x"
- build xxx-1
On PC5082:
- svn update
- Increase version in elog.spec
- build x.x.x 1
- ./build x.x.x 1
Declare new version at freshmeat.
@ -37,5 +37,5 @@ On PC4534:
On PC5082:
- svn update
- Increse release in elog.spec
- (Increse release in elog.spec) should be done in script...
- build x.x.x y

View File

@ -103,7 +103,11 @@ typedef int BOOL;
#include <grp.h>
#include <syslog.h>
#include <termios.h>
#ifdef OS_FreeBSD
#include <libutil.h>
#else
#include <pty.h>
#endif
#define closesocket(s) close(s)