summaryrefslogtreecommitdiff
path: root/emulators/minivmac/patches/patch-aa
blob: aa56bda2f8bc7984e749a700ce8f5e0b84020de4 (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
$NetBSD: patch-aa,v 1.1.1.1 2002/10/15 12:39:12 kei Exp $

--- tool/bash/build.orig	Thu Jul 18 03:09:52 2002
+++ tool/bash/build	Mon Oct 14 03:49:09 2002
@@ -32,17 +32,17 @@
 
 # what compiler to use and what options
 
-CallC="gcc -c"
+CallC="${CC} -c -I${X11BASE}/include"
 CallC="${CallC} -Wall -Wmissing-prototypes -Wstrict-prototypes"
 CallC="${CallC} -O3"
 
 # what linker to use and what options
 
-LinkLine="gcc"
+LinkLine="${CC}"
 
 # what libraries to link with
 
-LinkLibs="-L/usr/X11R6/lib -lXext -lX11"
+LinkLibs="-L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXext -lX11"
 
 # set this to 1 for more speed if you have a PowerPC computer,
 # or other processor with big endian addressing that can