mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Applied patch from Mike Pittelkow <mikep@isd.net> to compile under FreeBSD
SVN revision: 1625
This commit is contained in:
parent
4e4ed5565d
commit
3c960cad0d
8
Makefile
8
Makefile
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user