summaryrefslogtreecommitdiff
path: root/x11/lesstif12/patches/patch-bg
blob: dfff0860ee2beea86e73048ced83e38facc7dc6b (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-bg,v 1.1 2002/12/05 18:50:06 drochner Exp $

--- lib/Uil-2.0/Makefile.am.orig	Wed May  9 16:41:21 2001
+++ lib/Uil-2.0/Makefile.am
@@ -4,7 +4,13 @@
 MAINTAINERCLEANFILES=Makefile.in
 
 libUil_la_LDFLAGS= -version-info 2:0
+if Version_2_0
+if DefaultVersion20
+libdir = $(exec_prefix)/lib
+else
 libdir = $(exec_prefix)/LessTif/Motif2.0/lib
+endif
+endif
 
 #
 # Sources in this directory
@@ -58,24 +64,4 @@
 	      rm $$i; \
 	   fi ; \
 	  done
-endif
-
-install-data-hook:	libUil.la
-if Version_2_0
-if LibtoolShared
-	-rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.so.2*
-	(cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.0/lib/libUil.so.2* .)
-endif
-if DefaultVersion20
-	-rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.la
-	(cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.0/lib/libUil.la .)
-if LibtoolShared
-	-rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.so
-	(cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.0/lib/libUil.so .)
-endif
-if LibtoolStatic
-	-rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.a
-	(cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.0/lib/libUil.a .)
-endif
-endif
 endif