$OpenBSD: patch-samterm_Makefile,v 1.1 2002/11/04 10:28:56 markus Exp $ --- samterm/Makefile.orig Thu Oct 31 00:48:26 2002 +++ samterm/Makefile Thu Oct 31 00:49:03 2002 @@ -8,7 +8,7 @@ # # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified # if your compiler supports posix-compatible compilation -OS=-DIRIX5 -ansiposix +OS=-D_POSIX_SOURCE -DSOLARIS # add -Iincludedir for any include directories that need to be searched # for posix header files (for UMIPS, add -I/usr/include/posix) @@ -16,16 +16,15 @@ INCS=-I../include # SAMTERM contains the name of the file containing the samterm # executable. -SAMTERM=/v/bin/samterm +SAMTERM=${PREFIX}/bin/samterm # set this if your X libraries are in different locations # or if you need extra libraries to load with X11 applications -XLIBS=-lXt -lX11 +XLIBS=-L${X11BASE}/lib -lXt -lX11 -CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION +CFLAGS+=$(OS) $(INCS) -D_LIBXG_EXTENSION LIBS=../libframe/libframe.a ../libXg/libXg.a -CC=cc OBJ=main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o