summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-be
blob: 7bf771161c000f1fdde06772faa90f93ac89ccbd (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
$NetBSD: patch-be,v 1.2 2001/06/30 19:08:26 jlam Exp $

--- lib/Mrm-2.1/Makefile.am.orig	Wed May  9 16:41:21 2001
+++ lib/Mrm-2.1/Makefile.am
@@ -4,7 +4,13 @@
 MAINTAINERCLEANFILES=Makefile.in
 
 libMrm_la_LDFLAGS= -version-info 2:1
+if Version_2_1
+if DefaultVersion21
+libdir = $(exec_prefix)/lib
+else
 libdir = $(exec_prefix)/LessTif/Motif2.1/lib
+endif
+endif
 
 #
 # Sources in this directory
@@ -80,24 +86,4 @@
 	      rm $$i; \
 	   fi ; \
 	  done
-endif
-
-install-data-hook:	libMrm.la
-if Version_2_1
-if LibtoolShared
-	-rm -f $(DESTDIR)$(exec_prefix)/lib/libMrm.so.2*
-	(cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libMrm.so.2* .)
-endif
-if DefaultVersion21
-	-rm -f $(DESTDIR)$(exec_prefix)/lib/libMrm.la
-	(cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libMrm.la .)
-if LibtoolShared
-	-rm -f $(DESTDIR)$(exec_prefix)/lib/libMrm.so
-	(cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libMrm.so .)
-endif
-if LibtoolStatic
-	-rm -f $(DESTDIR)$(exec_prefix)/lib/libMrm.a
-	(cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libMrm.a .)
-endif
-endif
 endif