summaryrefslogtreecommitdiff
path: root/x11/lesstif12/patches/patch-aw
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lesstif12/patches/patch-aw')
-rw-r--r--x11/lesstif12/patches/patch-aw26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/lesstif12/patches/patch-aw b/x11/lesstif12/patches/patch-aw
new file mode 100644
index 00000000000..a61e5bd78d9
--- /dev/null
+++ b/x11/lesstif12/patches/patch-aw
@@ -0,0 +1,26 @@
+$NetBSD: patch-aw,v 1.1 2002/12/05 18:50:04 drochner Exp $
+
+--- include/Motif-2.0/Xm/Makefile.am.orig Tue Dec 5 11:19:25 2000
++++ include/Motif-2.0/Xm/Makefile.am
+@@ -9,7 +9,11 @@
+ # Lets put the headers in a sub directory to avoid
+ # poluting /usr/local with more directories for default installs.
+ #
++if DefaultVersion20
++xmdir= $(prefix)/include/Xm
++else
+ xmdir= $(prefix)/LessTif/Motif2.0/include/Xm
++endif
+
+ HEADERS1_2 = \
+ ArrowB.h ArrowBG.h AtomMgr.h \
+@@ -68,9 +72,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