summaryrefslogtreecommitdiff
path: root/editors/sam/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-08-24 19:01:43 +0000
committeragc <agc@pkgsrc.org>1999-08-24 19:01:43 +0000
commit64aee4a26b3d11c14810afe6c1cf4818578c96ea (patch)
tree2beaf209248f930566f3a05bb488f53428c067c3 /editors/sam/patches
parent0a662988f975c1c1f3a1f669bea86c6e76fdf1be (diff)
downloadpkgsrc-64aee4a26b3d11c14810afe6c1cf4818578c96ea.tar.gz
Make this package work on Solaris.
Also, don't assume that X11BASE is /usr/openwin on Solaris.
Diffstat (limited to 'editors/sam/patches')
-rw-r--r--editors/sam/patches/patch-ah20
-rw-r--r--editors/sam/patches/patch-ai17
2 files changed, 37 insertions, 0 deletions
diff --git a/editors/sam/patches/patch-ah b/editors/sam/patches/patch-ah
new file mode 100644
index 00000000000..11d8df12097
--- /dev/null
+++ b/editors/sam/patches/patch-ah
@@ -0,0 +1,20 @@
+$NetBSD: patch-ah,v 1.1 1999/08/24 19:01:44 agc Exp $
+
+Generalise Solaris makefile
+
+--- samterm/Make.solaris 1999/08/24 18:39:40 1.1
++++ samterm/Make.solaris 1999/08/24 18:40:08
+@@ -16,11 +16,11 @@
+ # SAMTERM contains the name of the file containing the samterm
+ # executable. SAMTERMDIR is the directory where it is installed.
+ SAMTERM=samterm
+-SAMTERMDIR=/usr/local/bin
++SAMTERMDIR=${PREFIX}/bin
+
+ # set this if your X libraries are in different locations
+ # or if you need extra libraries to load with X11 applications
+-XLIBS=-L/usr/openwin/lib -lXt -lX11 -lsocket -lnsl
++XLIBS=-L${X11BASE}/lib -lXt -lX11 ${OTHER_X_LIBS} -lsocket -lnsl
+
+ CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
+
diff --git a/editors/sam/patches/patch-ai b/editors/sam/patches/patch-ai
new file mode 100644
index 00000000000..c0d1da81df2
--- /dev/null
+++ b/editors/sam/patches/patch-ai
@@ -0,0 +1,17 @@
+$NetBSD: patch-ai,v 1.1 1999/08/24 19:01:45 agc Exp $
+
+--- sam/Make.solaris 1999/08/24 18:41:20 1.1
++++ sam/Make.solaris 1999/08/24 18:41:44
+@@ -21,9 +21,9 @@
+ # where sam is to be installed. SAMSAVEDIR is the name of the directory
+ # where the samsave file restoration script is stored.
+ RSAMNAME=sam
+-TERMNAME=/usr/local/bin/samterm
+-SAMDIR=/usr/local/bin
+-SAMSAVEDIR=/usr/local/bin
++TERMNAME=${PREFIX}/bin/samterm
++SAMDIR=${PREFIX}/bin
++SAMSAVEDIR=${PREFIX}/bin
+
+ # Set TMP to a good place for tmp files (with lots of room)
+ TMP=/tmp