summaryrefslogtreecommitdiff
path: root/lang/STk/patches/patch-ac
blob: dae34d19e9ae21f4a820cd439aba5422420ec9fe (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
$NetBSD: patch-ac,v 1.2 2000/09/26 02:02:33 hubertf Exp $

--- configure.in.orig	Sat Jun  6 14:19:03 1998
+++ configure.in
@@ -14,7 +14,11 @@
 # determine the kind of the machine which is running this script
 os=`uname -s`
 version=`uname -r`
-machine=`uname -m`
+#
+# NetBSD:
+# allow sharing between different arch's which use the same processor
+# Ie, use 'm68k' instead of 'amiga', 'mac68k', 'hp300', etc.
+machine=`uname -p`
 
 case $os in
   Linux*) 
@@ -125,7 +129,7 @@
 
 if test "$x_libraries" != ""
 then
-   XLIBSW="-L$x_libraries"
+   XLIBSW="-L$x_libraries -Wl,-R$x_libraries"
 fi
 
 XLIBSW="$XLIBSW $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"