summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-aw
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lesstif/patches/patch-aw')
-rw-r--r--x11/lesstif/patches/patch-aw30
1 files changed, 30 insertions, 0 deletions
diff --git a/x11/lesstif/patches/patch-aw b/x11/lesstif/patches/patch-aw
new file mode 100644
index 00000000000..bb407b2c781
--- /dev/null
+++ b/x11/lesstif/patches/patch-aw
@@ -0,0 +1,30 @@
+$NetBSD: patch-aw,v 1.1 2000/12/22 17:26:20 jlam Exp $
+
+--- include/Motif-2.0/Xm/Makefile.am.orig Tue Dec 5 11:19:25 2000
++++ include/Motif-2.0/Xm/Makefile.am
+@@ -6,10 +6,13 @@
+ #
+ # Install headers
+ #
+-# Lets put the headers in a sub directory to avoid
+-# poluting /usr/local with more directories for default installs.
++# Let's put the headers in a sub directory if not a default install.
+ #
++if DefaultVersion20
++xmdir= $(includedir)/Xm
++else
+ xmdir= $(prefix)/LessTif/Motif2.0/include/Xm
++endif
+
+ HEADERS1_2 = \
+ ArrowB.h ArrowBG.h AtomMgr.h \
+@@ -68,9 +71,3 @@
+ rm $$i; \
+ fi ; \
+ done
+-
+-install-data-hook:
+-if DefaultVersion20
+- if [ -d $(DESTDIR)$(prefix)/include/Xm ]; then rm -rf $(DESTDIR)$(prefix)/include/Xm; else rm -f $(DESTDIR)$(prefix)/include/Xm; fi
+- (mkdir -p $(DESTDIR)$(prefix)/include && cd $(DESTDIR)$(prefix)/include && $(LN_S) ../LessTif/Motif2.0/include/Xm Xm)
+-endif