summaryrefslogtreecommitdiff
path: root/x11/blt/patches/patch-aa
blob: 8868d0e3b59195638c0c131ebf176cdee7d1e0ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.2 2000/05/22 03:47:55 sakamoto Exp $
--- configure.in.orig	Thu Jan 13 05:15:36 2000
+++ configure.in	Mon May 22 11:52:47 2000
@@ -581,5 +581,7 @@
 
 case $target in
-  *-sunos4*|NetBSD-*|FreeBSD-*|OpenBSD-*)
+  *-sunos4*|*-*-netbsd|FreeBSD-*|OpenBSD-*)
+    TCL_INC_DIR=${TCL_PREFIX}/include/tcl${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION}
+    TK_INC_DIR=${TK_PREFIX}/include/tk${TK_MAJOR_VERSION}.${TK_MINOR_VERSION}
     TCL_LIB_SPEC="-ltcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
     TK_LIB_SPEC="-ltk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
@@ -936,5 +938,5 @@
       SHLIB_CFLAGS="-fpic"
       SHLIB_LD="ld"
-      SHLIB_LD_FLAGS="-Bshareable -x"
+      SHLIB_LD_FLAGS="-Bshareable -x -rpath ${LD_RUN_PATH}"
     fi
     ;;