summaryrefslogtreecommitdiff
path: root/comms/xtel/patches/patch-ab
blob: 39e87264b46143e2cad1549c1ca00c5f17c15ff1 (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
$NetBSD: patch-ab,v 1.2 2006/01/02 16:17:09 joerg Exp $

--- Imakefile.orig	2001-02-12 16:33:01.000000000 +0000
+++ Imakefile
@@ -26,7 +26,7 @@ NETWORKCFLAGS = -DNO_NETWORK
 #ifdef NO_TERMIO
 TERMIOCFLAGS = -DNO_TERMIO
 #else
-#if defined(USE_TERMIOS) || defined(__FreeBSD__)
+#if defined(USE_TERMIOS) || defined(__FreeBSD__) || defined (NetBSDArchitecture) || defined(DragonFlyArchitecture)
 TERMIOCFLAGS = -DUSE_TERMIOS
 #endif
 #endif
@@ -71,7 +71,7 @@ SYSLOGCFLAGS= -DUSE_SYSLOG
 #ifdef NO_TVR
   TVRCFLAGS= -DNO_TVR
 #else
-    JPEGLIB= -ljpeg
+    JPEGLIB= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -ljpeg
 #endif
 
 #ifdef WINDAUBE
@@ -103,7 +103,7 @@ CONF_DEFINES  = '-DFICHIER_DEFINITION_LI
 
 TELE_DEFINES  = '-DXTERM_PATH="$(BINDIR)/xterm"'
 
-XTELD_DEFINES = '-DFICHIER_LOG="$(LIBDIR)/xtel/xtel.log"' \
+XTELD_DEFINES = '-DFICHIER_LOG="/var/log/xtel.log"' \
 		  '-DXTEL_LIBDIR="$(LIBDIR)/xtel"'