summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-az
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lesstif/patches/patch-az')
-rw-r--r--x11/lesstif/patches/patch-az30
1 files changed, 30 insertions, 0 deletions
diff --git a/x11/lesstif/patches/patch-az b/x11/lesstif/patches/patch-az
new file mode 100644
index 00000000000..0f6a0a0d8e1
--- /dev/null
+++ b/x11/lesstif/patches/patch-az
@@ -0,0 +1,30 @@
+$NetBSD: patch-az,v 1.1 2000/12/22 17:26:20 jlam Exp $
+
+--- include/Motif-2.1/Xm/Makefile.am.orig Thu Dec 14 16:30:23 2000
++++ include/Motif-2.1/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 DefaultVersion21
++xmdir= $(includedir)/Xm
++else
+ xmdir= $(prefix)/LessTif/Motif2.1/include/Xm
++endif
+
+ HEADERS1_2 = \
+ ArrowB.h ArrowBG.h AtomMgr.h \
+@@ -73,9 +76,3 @@
+ rm $$i; \
+ fi ; \
+ done
+-
+-install-data-hook:
+-if DefaultVersion21
+- 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.1/include/Xm Xm)
+-endif