summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-bj
blob: d2a4998d59dc482de0f2d979111b0c6240b57731 (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
$NetBSD: patch-bj,v 1.1 2000/12/22 17:26:21 jlam Exp $

--- lib/Xm-2.0/Makefile.am.orig	Thu Nov  2 16:32:08 2000
+++ lib/Xm-2.0/Makefile.am
@@ -66,10 +66,13 @@
 #
 # Install headers
 #
-# Lets put the headers in a sub directory to avoid
-# poluting /usr/local with more directories for default installs.
+# Let's put the headers in a sub directory if not a default install.
 #
+if DefaultVersion20
+libdir = $(prefix)/lib
+else
 libdir = $(prefix)/LessTif/Motif2.0/lib
+endif
 
 lib_LTLIBRARIES=	libXm.la
 
@@ -87,24 +90,4 @@
 	      rm $$i; \
 	   fi ; \
 	  done
-endif
-
-install-data-hook:
-if Version_2_0
-if LibtoolShared
-	-rm -f $(DESTDIR)$(prefix)/lib/libXm.so.2*
-	(cd $(DESTDIR)$(prefix)/lib && $(LN_S) ../LessTif/Motif2.0/lib/libXm.so.2* .)
-endif
-if DefaultVersion20
-	-rm -f $(DESTDIR)$(prefix)/lib/libXm.la
-	(cd $(DESTDIR)$(prefix)/lib && $(LN_S) ../LessTif/Motif2.0/lib/libXm.la .)
-if LibtoolShared
-	-rm -f $(DESTDIR)$(prefix)/lib/libXm.so
-	(cd $(DESTDIR)$(prefix)/lib && $(LN_S) ../LessTif/Motif2.0/lib/libXm.so .)
-endif
-if LibtoolStatic
-	-rm -f $(DESTDIR)$(prefix)/lib/libXm.a
-	(cd $(DESTDIR)$(prefix)/lib && $(LN_S) ../LessTif/Motif2.0/lib/libXm.a .)
-endif
-endif
 endif