summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-av
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lesstif/patches/patch-av')
-rw-r--r--x11/lesstif/patches/patch-av32
1 files changed, 32 insertions, 0 deletions
diff --git a/x11/lesstif/patches/patch-av b/x11/lesstif/patches/patch-av
new file mode 100644
index 00000000000..3696ae90974
--- /dev/null
+++ b/x11/lesstif/patches/patch-av
@@ -0,0 +1,32 @@
+$NetBSD: patch-av,v 1.3 2000/12/22 17:26:19 jlam Exp $
+
+--- include/Motif-2.0/Mrm/Makefile.am.orig Sun Jan 2 08:22:55 2000
++++ include/Motif-2.0/Mrm/Makefile.am
+@@ -8,10 +8,14 @@
+ #
+ # Install headers
+ #
+-# Lets put the headers in a sub directory to avoid
++# Let's put the headers in a sub directory if not a default install.
+ # poluting /usr/local with more directories for default installs.
+ #
++if DefaultVersion20
++mrmdir = $(includedir)/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
+-