summaryrefslogtreecommitdiff
path: root/chat/ser/patches/patch-aa
blob: af3066b3617099d773a526ad5d3bfaad6369f9dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
$NetBSD: patch-aa,v 1.1.1.1 2003/08/23 22:08:03 itojun Exp $

--- Makefile.defs-	2003-08-24 06:32:08.000000000 +0900
+++ Makefile.defs	2003-08-24 06:32:33.000000000 +0900
@@ -16,14 +16,13 @@
 			-e s/armv4l/arm/)
 
  # install location
-PREFIX = /usr/local
 prefix = $(PREFIX)
 # install path is $(basedir) $(prefix) 
 # example:
 #  creating a bin. archive in /tmp, which unpacks in /usr/local
 #  basedir=/tmp
 #  prefix=/usr/local
-basedir = 
+basedir = 
 # install prefixes for various stuff
 cfg-prefix = $(basedir)$(prefix)
 bin-prefix = $(basedir)$(prefix)
@@ -33,7 +32,7 @@
 ut-prefix = $(basedir)$(prefix)
 
 # dirs
-cfg-dir = etc/ser/
+cfg-dir = ser/
 bin-dir = sbin/
 modules-dir = lib/ser/modules/
 ifeq ($(OS), linux)
@@ -45,7 +44,7 @@
 endif
 ut-prefix = bin/
 # target dirs for various stuff
-cfg-target = $(prefix)/$(cfg-dir)
+cfg-target = $(PKG_SYSCONFDIR)/$(cfg-dir)
 modules-target = $(prefix)/$(modules-dir)
 
 
@@ -520,7 +519,7 @@
 ifeq ($(OS), netbsd)
 	DEFS+=-DHAVE_SOCKADDR_SA_LEN
 	YACC=yacc
-	LIBS= -lfl  -lc_r
+	LIBS= -lfl  -lpthread
 endif
 
 ifneq (,$(findstring CYGWIN, $(OS)))