summaryrefslogtreecommitdiff
path: root/x11/lesstif12/patches/patch-ax
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lesstif12/patches/patch-ax')
-rw-r--r--x11/lesstif12/patches/patch-ax28
1 files changed, 28 insertions, 0 deletions
diff --git a/x11/lesstif12/patches/patch-ax b/x11/lesstif12/patches/patch-ax
new file mode 100644
index 00000000000..9d5ec163e1e
--- /dev/null
+++ b/x11/lesstif12/patches/patch-ax
@@ -0,0 +1,28 @@
+$NetBSD: patch-ax,v 1.1 2002/12/05 18:50:04 drochner Exp $
+
+--- include/Motif-2.0/uil/Makefile.am.orig Wed Oct 25 06:16:07 2000
++++ include/Motif-2.0/uil/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
++uildir = $(prefix)/include/uil
++else
+ uildir = $(prefix)/LessTif/Motif2.0/include/uil
++endif
+
+ HEADERS1_2 = Uil.h UilDBDef.h UilDef.h UilSymDef.h UilSymGl.h
+
+@@ -29,11 +33,4 @@
+ fi ; \
+ done
+
+-endif
+-install-data-hook:
+-if Version_2_0
+-if DefaultVersion20
+- if [ -d $(DESTDIR)$(prefix)/include/uil ]; then rm -rf $(DESTDIR)$(prefix)/include/uil; else rm -f $(DESTDIR)$(prefix)/include/uil; fi
+- (mkdir -p $(DESTDIR)$(prefix)/include && cd $(DESTDIR)$(prefix)/include && $(LN_S) ../LessTif/Motif2.0/include/uil uil)
+-endif
+ endif