summaryrefslogtreecommitdiff
path: root/x11/lesstif12/patches/patch-bh
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lesstif12/patches/patch-bh')
-rw-r--r--x11/lesstif12/patches/patch-bh43
1 files changed, 43 insertions, 0 deletions
diff --git a/x11/lesstif12/patches/patch-bh b/x11/lesstif12/patches/patch-bh
new file mode 100644
index 00000000000..5140dfd12b6
--- /dev/null
+++ b/x11/lesstif12/patches/patch-bh
@@ -0,0 +1,43 @@
+$NetBSD: patch-bh,v 1.1 2002/12/05 18:50:07 drochner Exp $
+
+--- lib/Uil-2.1/Makefile.am.orig Wed May 9 16:41:21 2001
++++ lib/Uil-2.1/Makefile.am
+@@ -5,7 +5,13 @@
+ MAINTAINERCLEANFILES=Makefile.in
+
+ libUil_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
+@@ -70,24 +76,4 @@
+ rm $$i; \
+ fi ; \
+ done
+-endif
+-
+-install-data-hook: libUil.la
+-if Version_2_1
+-if LibtoolShared
+- -rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.so.2*
+- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libUil.so.2* .)
+-endif
+-if DefaultVersion21
+- -rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.la
+- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libUil.la .)
+-if LibtoolShared
+- -rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.so
+- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libUil.so .)
+-endif
+-if LibtoolStatic
+- -rm -f $(DESTDIR)$(exec_prefix)/lib/libUil.a
+- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libUil.a .)
+-endif
+-endif
+ endif