summaryrefslogtreecommitdiff
path: root/cad/vipec/patches/patch-aa
blob: 4428c9490c846facd3deb655ace4b189c380e535 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$NetBSD: patch-aa,v 1.5 2000/04/01 18:54:00 dmcmahill Exp $

--- configure.orig	Wed Oct 27 19:59:43 1999
+++ configure	Sat Apr  1 13:33:09 2000
@@ -10,5 +10,5 @@
 # Defaults:
 ac_help=
-ac_default_prefix=/opt
+ac_default_prefix=/usr/local
 # Any additions from configure.in:
 ac_help="$ac_help
@@ -32,5 +32,5 @@
 build=NONE
 cache_file=./config.cache
-exec_prefix=/opt/vipec
+exec_prefix=NONE
 host=NONE
 no_create=
@@ -1027,5 +1027,5 @@
   X_LDFLAGS=""
   x_libraries="/usr/lib";  else
-  X_LDFLAGS="-L$x_libraries"
+  X_LDFLAGS="-L$x_libraries -Wl,-R$x_libraries"
 fi
 all_includes="$all_includes $X_INCLUDES"  
@@ -2178,5 +2178,5 @@
 
 CXXFLAGS="$CXXFLAGS -I$qt_incdir"
-LDFLAGS="-L$qt_libdir $X_LDFLAGS"
+LDFLAGS="-L$qt_libdir -Wl,-R$qt_libdir $X_LDFLAGS"
 LIBS="$LIBS -lqt -lXext -lX11 $LIBSOCKET"
 
@@ -2266,5 +2266,5 @@
 CXXFLAGS="$CXXFLAGS -I$qt_includes"
 LDFLAGS="$X_LDFLAGS"
-LIBS="-lqt -lXext -lX11 $LIBSOCKET"
+LIBS="-lqt -lXext -lX11 -lz -lpng -lSM $LIBSOCKET"
 LD_LIBRARY_PATH=
 export LD_LIBRARY_PATH
@@ -2335,5 +2335,5 @@
  QT_LDFLAGS=""
 else
- QT_LDFLAGS="-L$qt_libraries"
+ QT_LDFLAGS="-L$qt_libraries -Wl,-R$qt_libraries"
  all_libraries="$QT_LDFLAGS $all_libraries"
 fi