summaryrefslogtreecommitdiff
path: root/editors/sam/patches
diff options
context:
space:
mode:
authoragc <agc>2001-05-01 09:16:24 +0000
committeragc <agc>2001-05-01 09:16:24 +0000
commitb9c6ca0100aee3090b1366a8c86820cd5356ffdd (patch)
tree4b3e42032522fd0310bfc0f9e53cb8ce0954df58 /editors/sam/patches
parent6c1ada7eb111f74dbbc65ed1da07e8e29429e24f (diff)
downloadpkgsrc-b9c6ca0100aee3090b1366a8c86820cd5356ffdd.tar.gz
Install header files, as they are needed by x11/9term
Install some libraries, as they are needed by x11/9term Move DEPENDS line in Makefile to shut up pkglint Bump version number to 4.3nb1
Diffstat (limited to 'editors/sam/patches')
-rw-r--r--editors/sam/patches/patch-aa123
-rw-r--r--editors/sam/patches/patch-ab87
-rw-r--r--editors/sam/patches/patch-af82
3 files changed, 140 insertions, 152 deletions
diff --git a/editors/sam/patches/patch-aa b/editors/sam/patches/patch-aa
index 6d66315dcb4..0a93ea70d57 100644
--- a/editors/sam/patches/patch-aa
+++ b/editors/sam/patches/patch-aa
@@ -1,64 +1,61 @@
-$NetBSD: patch-aa,v 1.3 2000/09/13 10:42:00 tron Exp $
+$NetBSD: patch-aa,v 1.4 2001/05/01 09:16:25 agc Exp $
-*** libXg/Makefile.orig Fri Jul 28 14:02:17 1995
---- libXg/Makefile Fri Jul 21 15:03:43 1995
-***************
-*** 1,24 ****
- # Copyright (c) 1992 AT&T - All rights reserved.
- #
-! # Prototype Makefile for libXg
- #
-- # define operating system. ONE of:
-- # -DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1
-- # -DHPUX -DAPOLLO -DCONVEX -DDYNIX
-- #
- # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
- # if your compiler supports posix-compatible compilation
-! OS=-DIRIX -ansiposix
-
- # add -Iincludedir for any include directories that need to be searched
-! INCS=-I../include
-
- # set this if your X libraries are in different locations
- # or if you need extra libraries to load with X11 applications
-! XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a
-
- # add name of library orderer - use ":" if none
-! RANLIB=:
-
- # add name of librarian
- AR=ar
---- 1,23 ----
- # Copyright (c) 1992 AT&T - All rights reserved.
- #
-! # Prototype BSDi Makefile for libXg
-! # Courtesy of Boyd Roberts
-! #
-! # Define operating system type: -DBSDi
- #
- # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
- # if your compiler supports posix-compatible compilation
-! OS=-O2 -DBSDi
-
- # add -Iincludedir for any include directories that need to be searched
-! INCS=-I../include -I${X11BASE}/include
-
- # set this if your X libraries are in different locations
- # or if you need extra libraries to load with X11 applications
-! XLIBS=-L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXt -lX11
-
- # add name of library orderer - use ":" if none
-! RANLIB=ranlib
-
- # add name of librarian
- AR=ar
-***************
-*** 50,56 ****
- $(LIB): $(OBJS)
- $(AR) rv $(LIB) $(OBJS)
- $(RANLIB) $(LIB)
--
-- $(LIB)(%.o): %.o
-
- $(OBJS): ../include/libg.h libgint.h ../include/libc.h
---- 49,53 ----
+--- libXg/Makefile.orig Tue May 1 09:42:03 2001
++++ libXg/Makefile Tue May 1 09:48:09 2001
+@@ -1,24 +1,23 @@
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+-# Prototype Makefile for libXg
++# Prototype BSDi Makefile for libXg
++# Courtesy of Boyd Roberts
++#
++# Define operating system type: -DBSDi
+ #
+-# define operating system. ONE of:
+-# -DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1
+-# -DHPUX -DAPOLLO -DCONVEX -DDYNIX
+-#
+ # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
+ # if your compiler supports posix-compatible compilation
+-OS=-DIRIX -ansiposix
++OS=-O2 -DBSDi
+
+ # add -Iincludedir for any include directories that need to be searched
+-INCS=-I../include
++INCS=-I../include -I${X11BASE}/include
+
+ # set this if your X libraries are in different locations
+ # or if you need extra libraries to load with X11 applications
+-XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a
++XLIBS=-L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXt -lX11
+
+ # add name of library orderer - use ":" if none
+-RANLIB=:
++RANLIB=ranlib
+
+ # add name of librarian
+ AR=ar
+@@ -36,7 +35,7 @@
+ rdfontfile.o rectclip.o rune.o segment.o string.o strwidth.o texture.o\
+ wrbitmap.o wrbitmapfile.o xtbinit.o
+
+-all install: $(LIB)
++all : $(LIB)
+ compile: $(LIB)
+ test: test.o
+ $(CC) -o $@ $? $(LIB) $(XLIBS) -lm
+@@ -47,10 +46,12 @@
+ nuke: clean
+ rm -f $(LIB)
+
++install: ${LIB}
++ cp ${LIB} ${PREFIX}/lib/${LIB}
++ ${RANLIB} ${PREFIX}/lib/${LIB}
++
+ $(LIB): $(OBJS)
+ $(AR) rv $(LIB) $(OBJS)
+ $(RANLIB) $(LIB)
+-
+-$(LIB)(%.o): %.o
+
+ $(OBJS): ../include/libg.h libgint.h ../include/libc.h
diff --git a/editors/sam/patches/patch-ab b/editors/sam/patches/patch-ab
index 125291a9439..4f9f3c68587 100644
--- a/editors/sam/patches/patch-ab
+++ b/editors/sam/patches/patch-ab
@@ -1,48 +1,41 @@
-$NetBSD: patch-ab,v 1.2 1998/08/07 11:11:17 agc Exp $
+$NetBSD: patch-ab,v 1.3 2001/05/01 09:16:25 agc Exp $
-*** libframe/Makefile.orig Fri Jul 28 14:08:32 1995
---- libframe/Makefile Fri Jul 21 15:02:32 1995
-***************
-*** 1,21 ****
- # Copyright (c) 1992 AT&T - All rights reserved.
- #
-! # Prototype Makefile for libframe
- #
-- # define operating system. ONE of:
-- # -DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1
-- # -DHPUX -DAPOLLO -DCONVEX -DDYNIX
-- #
- # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
- # if your compiler supports posix-compatible compilation
-! OS=-DIRIX -ansiposix
-
- # add -Iincludedir for any include directories that need to be searched
- # for posix header files (for UMIPS, add -I/usr/include/posix)
-! INCS=-I../include
-
- # add name of library orderer - use ":" if none exists
-! RANLIB=:
-
- # add name of library
- AR=ar
---- 1,20 ----
- # Copyright (c) 1992 AT&T - All rights reserved.
- #
-! # Prototype BSDi Makefile for libframe
-! # Courtesy of Boyd Roberts
-! #
-! # Define operating system type: -DBSDi
- #
- # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
- # if your compiler supports posix-compatible compilation
-! OS=-DBSDi -O2
-
- # add -Iincludedir for any include directories that need to be searched
- # for posix header files (for UMIPS, add -I/usr/include/posix)
-! INCS=-I../include -I/usr/include/posix
-
- # add name of library orderer - use ":" if none exists
-! RANLIB=ranlib
-
- # add name of library
- AR=ar
+--- libframe/Makefile.orig Tue May 1 09:42:03 2001
++++ libframe/Makefile Tue May 1 09:46:03 2001
+@@ -1,21 +1,20 @@
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+-# Prototype Makefile for libframe
++# Prototype BSDi Makefile for libframe
++# Courtesy of Boyd Roberts
++#
++# Define operating system type: -DBSDi
+ #
+-# define operating system. ONE of:
+-# -DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1
+-# -DHPUX -DAPOLLO -DCONVEX -DDYNIX
+-#
+ # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
+ # if your compiler supports posix-compatible compilation
+-OS=-DIRIX -ansiposix
++OS=-DBSDi -O2
+
+ # add -Iincludedir for any include directories that need to be searched
+ # for posix header files (for UMIPS, add -I/usr/include/posix)
+-INCS=-I../include
++INCS=-I../include -I/usr/include/posix
+
+ # add name of library orderer - use ":" if none exists
+-RANLIB=:
++RANLIB=ranlib
+
+ # add name of library
+ AR=ar
+@@ -41,5 +40,7 @@
+ rm -f $(LIB)
+
+ install: $(LIB)
++ cp ${LIB} ${PREFIX}/lib/${LIB}
++ ${RANLIB} ${PREFIX}/lib/${LIB}
+
+ $(OBJ): ../include/u.h ../include/libc.h ../include/frame.h
diff --git a/editors/sam/patches/patch-af b/editors/sam/patches/patch-af
index ad052d09a59..4eaeee2123e 100644
--- a/editors/sam/patches/patch-af
+++ b/editors/sam/patches/patch-af
@@ -1,43 +1,41 @@
-$NetBSD: patch-af,v 1.3 2000/09/13 10:42:00 tron Exp $
+$NetBSD: patch-af,v 1.4 2001/05/01 09:16:25 agc Exp $
-*** Makefile.orig Fri Aug 11 15:55:41 1995
---- Makefile Fri Aug 11 16:08:35 1995
-***************
-*** 3,8 ****
---- 3,17 ----
- # master makefile for sam. configure sub-makefiles first.
- #
-
-+
-+ MAN=man
-+ MAN1=sam
-+ MAN3=add balloc bitblt cachechars event frame graphics rgbpix rune
-+ MAN4=font keyboard utf
-+ MAN6=bitmap regexp
-+ APP_DEFAULT_DIR=${X11PREFIX}/lib/X11/app-defaults
-+ AD=Sam
-+
- all: lXg lframe samdir samtermdir
-
- lXg:
-***************
-*** 21,26 ****
---- 30,47 ----
- cd libframe; $(MAKE) install
- cd sam; $(MAKE) install
- cd samterm; $(MAKE) install
-+ pwd
-+ for i in $(MAN1); do cp doc/$$i.1 $(PREFIX)/$(MAN)/man1/$$i.1; done
-+ for i in $(MAN3); do cp doc/$$i.3 $(PREFIX)/$(MAN)/man3/$$i.3; done
-+ for i in $(MAN4); do cp doc/$$i.4 $(PREFIX)/$(MAN)/man4/$$i.4; done
-+ for i in $(MAN6); do cp doc/$$i.6 $(PREFIX)/$(MAN)/man6/$$i.6; done
-+ cp doc/$(AD).ad $(APP_DEFAULT_DIR)/$(AD)
-+ strip $(PREFIX)/bin/sam
-+ strip $(PREFIX)/bin/samterm
-+ for i in $(MAN1); do gzip -9nf $(PREFIX)/$(MAN)/man1/$$i.1; done
-+ for i in $(MAN3); do gzip -9nf $(PREFIX)/$(MAN)/man3/$$i.3; done
-+ for i in $(MAN4); do gzip -9nf $(PREFIX)/$(MAN)/man4/$$i.4; done
-+ for i in $(MAN6); do gzip -9nf $(PREFIX)/$(MAN)/man6/$$i.6; done
-
- clean:
- cd libXg; $(MAKE) clean
+--- Makefile.orig Tue May 1 09:42:03 2001
++++ Makefile Tue May 1 09:43:37 2001
+@@ -3,6 +3,15 @@
+ # master makefile for sam. configure sub-makefiles first.
+ #
+
++
++MAN=man
++MAN1=sam
++MAN3=add balloc bitblt cachechars event frame graphics rgbpix rune
++MAN4=font keyboard utf
++MAN6=bitmap regexp
++APP_DEFAULT_DIR=${X11PREFIX}/lib/X11/app-defaults
++AD=Sam
++
+ all: lXg lframe samdir samtermdir
+
+ lXg:
+@@ -21,6 +30,20 @@
+ cd libframe; $(MAKE) install
+ cd sam; $(MAKE) install
+ cd samterm; $(MAKE) install
++ mkdir -p ${PREFIX}/include/sam
++ cp include/u.h include/libc.h include/libg.h include/frame.h ${PREFIX}/include/sam/
++ pwd
++ for i in $(MAN1); do cp doc/$$i.1 $(PREFIX)/$(MAN)/man1/$$i.1; done
++ for i in $(MAN3); do cp doc/$$i.3 $(PREFIX)/$(MAN)/man3/$$i.3; done
++ for i in $(MAN4); do cp doc/$$i.4 $(PREFIX)/$(MAN)/man4/$$i.4; done
++ for i in $(MAN6); do cp doc/$$i.6 $(PREFIX)/$(MAN)/man6/$$i.6; done
++ cp doc/$(AD).ad $(APP_DEFAULT_DIR)/$(AD)
++ strip $(PREFIX)/bin/sam
++ strip $(PREFIX)/bin/samterm
++ for i in $(MAN1); do gzip -9nf $(PREFIX)/$(MAN)/man1/$$i.1; done
++ for i in $(MAN3); do gzip -9nf $(PREFIX)/$(MAN)/man3/$$i.3; done
++ for i in $(MAN4); do gzip -9nf $(PREFIX)/$(MAN)/man4/$$i.4; done
++ for i in $(MAN6); do gzip -9nf $(PREFIX)/$(MAN)/man6/$$i.6; done
+
+ clean:
+ cd libXg; $(MAKE) clean