summaryrefslogtreecommitdiff
path: root/news/knews/patches/patch-ab
blob: bf592c6ec4764e27fb3822c4a163739dbae85f2f (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
$NetBSD: patch-ab,v 1.4 1999/03/14 15:07:21 tron Exp $

--- knews.tmpl.orig	Tue Dec 29 05:14:55 1998
+++ knews.tmpl	Tue Mar  9 06:30:33 1999
@@ -1,4 +1,4 @@
-/*
+	/*
  *  This file is included into all Imakefiles.  If your default compiler
  *  is not ISO/ANSI compliant, you have to fix it here.  Below are a few
  *  example settings for systems I have access to.
@@ -23,11 +23,9 @@
  */
 
 /* gcc on decent systems */
-#if 0
 CC		= gcc
 CCOPTIONS	= -ansi -pedantic -Wall
 CDEBUGFLAGS	= -O2
-#endif
 
 /* gcc on SunOS 4.1.x (and maybe other non-decent systems) */
 #if 0
@@ -74,13 +72,13 @@
  *  be changed to -lgz.
  */
 
-JPEG_LIB	= -ljpeg
-PNG_LIB		= -lpng -lz -lm
-COMPFACE_LIB	= -lcompface
+JPEG_LIB	= -L${LOCALBASE}/lib -ljpeg
+PNG_LIB		= -L${LOCALBASE}/lib -lpng -lz -lm
+COMPFACE_LIB	= -L${LOCALBASE}/lib -lcompface
 
 
 /*
  *  If you need to add include paths for e.g. libjpeg, libpng or libzlib
  *  include files, do it here.
  */
-KNEWS_INCLUDES	=
+KNEWS_INCLUDES	= -I${LOCALBASE}/include