summaryrefslogtreecommitdiff
path: root/x11/lesstif12/patches/patch-ax
blob: 9d5ec163e1ef062ede47c89f3793f0293a1899b6 (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
$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