$OpenBSD: patch-Makefile,v 1.1.1.1 2004/12/01 06:46:35 jolan Exp $ --- Makefile.orig Tue Mar 27 10:38:52 2001 +++ Makefile Wed Dec 1 00:37:35 2004 @@ -9,12 +9,12 @@ LIBDIR=$(EXEC_PREFIX)/lib MANDIR=$(PREFIX)/man INCLUDEDIR=$(PREFIX)/include -CC=gcc +#CC=gcc INSTALL=/usr/bin/install -c INSTALL_DATA=$(INSTALL) -m 644 -CFLAGS=-O2 -Wall -pipe -I. -DXOSD_VERSION=\"$(VERSION)\" -I/usr/X11R6/include -LDFLAGS=-L. -L/usr/X11R6/lib -lX11 -lXext -lpthread -lXt +CFLAGS+=-I. -I${LOCALBASE}/include +LDFLAGS=-L. -L${X11BASE}/lib -L${LOCALBASE}/lib -lX11 -lXext -lXt -pthread XOSDLIBS=-lxosd