summaryrefslogtreecommitdiff
path: root/wm/fvwm95/patches/patch-af
blob: feb3a87544f0f6ccd71e7096254124bbae0e8940 (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
$NetBSD: patch-af,v 1.3 2001/11/01 10:00:52 tron Exp $

--- configure.orig	Tue Dec 10 17:55:16 1996
+++ configure	Thu Nov  1 10:57:57 2001
@@ -518,8 +518,6 @@
 
 
 
-CFLAGS=-O
-
 #-------------------------------------------------------------------
 #
 # Remove the ./config.cache file and rerun configure if
@@ -2126,10 +2124,10 @@
 fvwm_icons="$x_includes/X11/bitmaps:$x_includes/X11/pixmaps:$prefix/icons"
 
 if test "x$x_libraries" != x ; then
-  x_libraries="-L$x_libraries"
+  x_libraries="-L$x_libraries -Wl,-R$x_libraries -L$prefix/lib -Wl,-R$prefix/lib"
 fi
 if test "x$x_includes" != x ; then
-  x_includes="-I$x_includes"
+  x_includes="-I$x_includes -I${prefix}/include"
 fi
 
 
@@ -2247,7 +2245,6 @@
           libs/Makefile \
           mini-icons/Makefile \
           utils/Makefile \
-          xpmroot/Makefile \
           sample.fvwmrc/Makefile \
           modules/Makefile \
           modules/FvwmAudio/Makefile \
@@ -2329,7 +2326,6 @@
           libs/Makefile \
           mini-icons/Makefile \
           utils/Makefile \
-          xpmroot/Makefile \
           sample.fvwmrc/Makefile \
           modules/Makefile \
           modules/FvwmAudio/Makefile \