summaryrefslogtreecommitdiff
path: root/emulators/kegs/patches/patch-ah
blob: a3c5febbaac3a9121f5bbf565da83c8de1c505b5 (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-ah,v 1.2 2018/03/06 15:29:13 wiz Exp $
--- src/vars_x86solaris.orig	2004-12-07 00:42:47.000000000 +0000
+++ src/vars_x86solaris
@@ -2,11 +2,10 @@
 TARGET = xkegs
 OBJECTS = $(OBJECTS1) xdriver.o
 CC = gcc
-CCOPTS = -O
+CCOPTS = ${CFLAGS}
 OPTS =  -DNDEBUG -DSOLARIS -DKEGS_LITTLE_ENDIAN -DSOLARISSOUND
 SUFFIX =
 NAME = xkegs
-LDFLAGS =
 LDOPTS =
 LD = $(CC)
 EXTRA_LIBS = -lXext -lX11 -lsocket -lnsl
@@ -15,6 +14,6 @@ EXTRA_SPECIALS =
 AS = cc
 PERL = perl
 
-XOPTS = -I/usr/X/include
-XLIBS = -L/usr/X/lib
+XOPTS = -I${X11BASE}/include
+XLIBS = -L${X11BASE}/lib