summaryrefslogtreecommitdiff
path: root/x11/9term/patches/patch-aa
blob: 9b82f7dc54498e684a66c84ba5e057deaa0637b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-aa,v 1.1.1.1 2000/12/14 00:57:41 wiz Exp $

--- 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=${PKGSRCDIR}/editors/sam/${WRKDIR:T}
 
 #	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