openbsd-ports/plan9/sam/patches/patch-af
espie a8548d6360 Fake plan9 subdir.
Add rc flavors.
2000-06-07 00:52:07 +00:00

35 lines
1.1 KiB
Plaintext

$OpenBSD: patch-af,v 1.2 2000/06/07 00:52:09 espie Exp $
--- samterm/Makefile.orig Wed Jun 7 02:38:21 2000
+++ samterm/Makefile Wed Jun 7 02:42:31 2000
@@ -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,11 +16,11 @@ 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
@@ -41,6 +41,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