summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-ax
blob: 9b6f27ce60bb50a589b0a88447d20c3b2b79fe41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-ax,v 1.1 2000/12/22 17:26:20 jlam Exp $

--- include/Motif-2.0/uil/Makefile.am.orig	Wed Oct 25 06:16:07 2000
+++ include/Motif-2.0/uil/Makefile.am
@@ -8,10 +8,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
+uildir =	$(includedir)/uil
+else
 uildir =	$(prefix)/LessTif/Motif2.0/include/uil
+endif
 
 HEADERS1_2 =		Uil.h        UilDBDef.h   UilDef.h     UilSymDef.h  UilSymGl.h
 
@@ -29,11 +32,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