summaryrefslogtreecommitdiff
path: root/x11/lesstif12/patches/patch-bb
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lesstif12/patches/patch-bb')
-rw-r--r--x11/lesstif12/patches/patch-bb58
1 files changed, 58 insertions, 0 deletions
diff --git a/x11/lesstif12/patches/patch-bb b/x11/lesstif12/patches/patch-bb
new file mode 100644
index 00000000000..f97b3912426
--- /dev/null
+++ b/x11/lesstif12/patches/patch-bb
@@ -0,0 +1,58 @@
+$NetBSD: patch-bb,v 1.1 2002/12/05 18:50:05 drochner Exp $
+
+--- lib/Dt/Makefile.am.orig Wed May 9 16:41:21 2001
++++ lib/Dt/Makefile.am
+@@ -5,7 +5,13 @@
+ MAINTAINERCLEANFILES=Makefile.in
+
+ libDtPrint_la_LDFLAGS= -version-info 1:0
++if Version_2_1
++if DefaultVersion21
++libdir = $(exec_prefix)/lib
++else
+ libdir = $(exec_prefix)/LessTif/Motif2.1/lib
++endif
++endif
+
+ if BuildLibDtPrint
+
+@@ -15,7 +21,13 @@
+ # libDtPrint_la_LIBADD = @X_LIBS@ -lXt $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS)
+
+
++if Version_2_1
++if DefaultVersion21
++includedir= $(prefix)/include/Dt
++else
+ includedir= $(prefix)/LessTif/Motif2.1/include/Dt
++endif
++endif
+ include_DATA= Print.h
+
+ INCLUDES= -I$(top_srcdir)/lib \
+@@ -37,25 +49,3 @@
+
+ EXTRA_DIST = Print.h DtPrintSetupBoxP.h \
+ DtPrintSetupBox.c DtPrintSetupData.c
+-
+-install-data-hook: libDtPrint.la
+-if BuildLibDtPrint
+-if LibtoolShared
+- -rm -f $(DESTDIR)$(exec_prefix)/lib/libDtPrint.so.1*
+- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libDtPrint.so.1* .)
+-endif
+-if DefaultVersion21
+- -rm -f $(DESTDIR)$(exec_prefix)/lib/libDtPrint.la
+- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libDtPrint.la .)
+- if [ -d $(DESTDIR)$(prefix)/include/Dt ]; then rm -rf $(DESTDIR)$(prefix)/include/Dt; else rm -f $(DESTDIR)$(prefix)/include/Dt; fi
+- (mkdir -p $(DESTDIR)$(prefix)/include && cd $(DESTDIR)$(prefix)/include && $(LN_S) ../LessTif/Motif2.1/include/Dt Dt)
+-if LibtoolShared
+- -rm -f $(DESTDIR)$(exec_prefix)/lib/libDtPrint.so
+- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libDtPrint.so .)
+-endif
+-if LibtoolStatic
+- -rm -f $(DESTDIR)$(exec_prefix)/lib/libDtPrint.a
+- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libDtPrint.a .)
+-endif
+-endif
+-endif