summaryrefslogtreecommitdiff
path: root/editors/sam/patches
diff options
context:
space:
mode:
authortron <tron>2000-09-13 10:41:59 +0000
committertron <tron>2000-09-13 10:41:59 +0000
commit942b92402ea9a812c41ad07e20704aa68eb6a557 (patch)
tree8367be7bf363c7046e04e2e934a54849a0a20aeb /editors/sam/patches
parent2e55981c2857f134934a2929ef8bbae74dc77b9a (diff)
downloadpkgsrc-942b92402ea9a812c41ad07e20704aa68eb6a557.tar.gz
Fix installation problems. Patches worked out by alistair Crooks.
Diffstat (limited to 'editors/sam/patches')
-rw-r--r--editors/sam/patches/patch-aa6
-rw-r--r--editors/sam/patches/patch-ac4
-rw-r--r--editors/sam/patches/patch-af4
3 files changed, 7 insertions, 7 deletions
diff --git a/editors/sam/patches/patch-aa b/editors/sam/patches/patch-aa
index b770f0cfa4b..6d66315dcb4 100644
--- a/editors/sam/patches/patch-aa
+++ b/editors/sam/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 11:11:17 agc Exp $
+$NetBSD: patch-aa,v 1.3 2000/09/13 10:42:00 tron Exp $
*** libXg/Makefile.orig Fri Jul 28 14:02:17 1995
--- libXg/Makefile Fri Jul 21 15:03:43 1995
@@ -41,11 +41,11 @@ $NetBSD: patch-aa,v 1.2 1998/08/07 11:11:17 agc Exp $
! OS=-O2 -DBSDi
# add -Iincludedir for any include directories that need to be searched
-! INCS=-I../include -I/usr/X11R6/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/X11/lib/libXt.a /usr/X11/lib/libX11.a
+! XLIBS=-L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXt -lX11
# add name of library orderer - use ":" if none
! RANLIB=ranlib
diff --git a/editors/sam/patches/patch-ac b/editors/sam/patches/patch-ac
index 69da3584efc..810c10dfccd 100644
--- a/editors/sam/patches/patch-ac
+++ b/editors/sam/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.2 1998/08/07 11:11:18 agc Exp $
+$NetBSD: patch-ac,v 1.3 2000/09/13 10:42:00 tron Exp $
*** samterm/Makefile.orig Fri Jul 28 14:09:32 1995
--- samterm/Makefile Fri Jul 21 15:30:09 1995
@@ -63,7 +63,7 @@ $NetBSD: patch-ac,v 1.2 1998/08/07 11:11:18 agc Exp $
! # /usr/X11R6/lib/libICE.a \
! # /usr/X11R6/lib/libX11.a
!
-! XLIBS=-L/usr/X11R6/lib -lXt -lSM -lICE -lX11
+! XLIBS=-L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXt -lSM -lICE -lX11
CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
diff --git a/editors/sam/patches/patch-af b/editors/sam/patches/patch-af
index acbc4d6978c..ad052d09a59 100644
--- a/editors/sam/patches/patch-af
+++ b/editors/sam/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.2 1998/08/07 11:11:19 agc Exp $
+$NetBSD: patch-af,v 1.3 2000/09/13 10:42:00 tron Exp $
*** Makefile.orig Fri Aug 11 15:55:41 1995
--- Makefile Fri Aug 11 16:08:35 1995
@@ -14,7 +14,7 @@ $NetBSD: patch-af,v 1.2 1998/08/07 11:11:19 agc Exp $
+ MAN3=add balloc bitblt cachechars event frame graphics rgbpix rune
+ MAN4=font keyboard utf
+ MAN6=bitmap regexp
-+ APP_DEFAULT_DIR=/usr/X11R6/lib/X11/app-defaults
++ APP_DEFAULT_DIR=${X11PREFIX}/lib/X11/app-defaults
+ AD=Sam
+
all: lXg lframe samdir samtermdir