41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
$OpenBSD: patch-af,v 1.3 2001/03/17 17:11:56 wilfried Exp $
|
|
--- samterm/Makefile.orig Fri Mar 16 17:22:40 2001
|
|
+++ samterm/Makefile Fri Mar 16 17:23:49 2001
|
|
@@ -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=/usr/local/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/usr/X11R6/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
|
|
|
|
@@ -41,6 +40,6 @@ nuke: clean
|
|
rm -f samterm
|
|
|
|
install: samterm
|
|
- cp samterm $(SAMTERM)
|
|
+ cp samterm $(DESTDIR)$(SAMTERM)
|
|
|
|
$(OBJ): samterm.h flayer.h ../include/frame.h ../include/libg.h ../include/u.h ../include/libc.h ../sam/mesg.h
|