summaryrefslogtreecommitdiff
path: root/x11/lesstif12/patches/patch-av
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lesstif12/patches/patch-av')
-rw-r--r--x11/lesstif12/patches/patch-av28
1 files changed, 28 insertions, 0 deletions
diff --git a/x11/lesstif12/patches/patch-av b/x11/lesstif12/patches/patch-av
new file mode 100644
index 00000000000..6e6ecd91e28
--- /dev/null
+++ b/x11/lesstif12/patches/patch-av
@@ -0,0 +1,28 @@
+$NetBSD: patch-av,v 1.1 2002/12/05 18:50:03 drochner Exp $
+
+--- include/Motif-2.0/Mrm/Makefile.am.orig Sun Jan 2 08:22:55 2000
++++ include/Motif-2.0/Mrm/Makefile.am
+@@ -11,7 +11,11 @@
+ # Lets put the headers in a sub directory to avoid
+ # poluting /usr/local with more directories for default installs.
+ #
++if DefaultVersion20
++mrmdir = $(prefix)/include/Mrm
++else
+ mrmdir = $(prefix)/LessTif/Motif2.0/include/Mrm
++endif
+
+ HEADERS1_2 = MrmAppl.h MrmDecls.h MrmPrivate.h MrmPublic.h
+
+@@ -30,11 +34,3 @@
+ done
+
+ endif
+-install-data-hook:
+-if Version_2_0
+-if DefaultVersion20
+- if [ -d $(DESTDIR)$(prefix)/include/Mrm ]; then rm -rf $(DESTDIR)$(prefix)/include/Mrm; else rm -f $(DESTDIR)$(prefix)/include/Mrm; fi
+- (mkdir -p $(DESTDIR)$(prefix)/include && cd $(DESTDIR)$(prefix)/include && $(LN_S) ../LessTif/Motif2.0/include/Mrm Mrm)
+-endif
+-endif
+-