diff options
author | agc <agc@pkgsrc.org> | 1997-10-09 14:59:56 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-10-09 14:59:56 +0000 |
commit | 17a659a34da645c8ca0f92e0c7ce1c4fcb09fdc5 (patch) | |
tree | 1b563fbe93d3c3ec49a1158e825b6a59ef70bce8 /plan9/9term/patches/patch-aa | |
parent | c273f936d2200bb66d52b6320e6db561a6830c87 (diff) | |
download | pkgsrc-17a659a34da645c8ca0f92e0c7ce1c4fcb09fdc5.tar.gz |
Make 9term compile on NetBSD.
Diffstat (limited to 'plan9/9term/patches/patch-aa')
-rw-r--r-- | plan9/9term/patches/patch-aa | 72 |
1 files changed, 27 insertions, 45 deletions
diff --git a/plan9/9term/patches/patch-aa b/plan9/9term/patches/patch-aa index a587c0a88d1..8c712c55977 100644 --- a/plan9/9term/patches/patch-aa +++ b/plan9/9term/patches/patch-aa @@ -1,45 +1,27 @@ -*** libtext/Makefile.orig Wed Jun 1 21:01:19 1994 ---- libtext/Makefile Mon Jul 31 11:34:06 1995 -*************** -*** 5,18 **** - # - # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified - # if your compiler supports posix-compatible compilation -! OS=-DSOLARIS - - # add -Iincludedir for any include directories that need to be searched - # for posix header files -! INCS=-I. -I../include - - # add name of library orderer - use ":" if none exists -! RANLIB=: - - # add name of library - AR=ar ---- 5,19 ---- - # - # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified - # if your compiler supports posix-compatible compilation -! OS=-DSUNOS -O2 -! SAMDIR=../../../sam/work - - # add -Iincludedir for any include directories that need to be searched - # for posix header files -! INCS=-I. -I$(SAMDIR)/include - - # add name of library orderer - use ":" if none exists -! RANLIB=ranlib - - # add name of library - AR=ar -*************** -*** 38,41 **** - - install: $(LIB) - -! $(OBJ): ../include/u.h ../include/libc.h ../include/libg.h ../include/frame.h ../include/text.h ---- 39,42 ---- - - install: $(LIB) - -! $(OBJ): $(SAMDIR)/include/u.h $(SAMDIR)/include/libc.h $(SAMDIR)/include/libg.h $(SAMDIR)/include/frame.h text.h +--- libtext/Makefile.orig Thu Jun 2 03:01:19 1994 ++++ libtext/Makefile Fri Sep 26 16:44:27 1997 +@@ -5,14 +5,15 @@ + # + # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified + # if your compiler supports posix-compatible compilation +-OS=-DSOLARIS ++OS=-DSUNOS -O2 ++SAMDIR=../../../sam/work + + # add -Iincludedir for any include directories that need to be searched + # for posix header files +-INCS=-I. -I../include ++INCS=-I. -I$(SAMDIR)/include + + # add name of library orderer - use ":" if none exists +-RANLIB=: ++RANLIB=ranlib + + # add name of library + AR=ar +@@ -38,4 +39,4 @@ + + install: $(LIB) + +-$(OBJ): ../include/u.h ../include/libc.h ../include/libg.h ../include/frame.h ../include/text.h ++$(OBJ): $(SAMDIR)/include/u.h $(SAMDIR)/include/libc.h $(SAMDIR)/include/libg.h $(SAMDIR)/include/frame.h text.h |