summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-ay
blob: 42e00c7d252f30b3c66603cb86d32943fee09c6a (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
33
$NetBSD: patch-ay,v 1.1 2000/12/22 17:26:20 jlam Exp $

--- include/Motif-2.1/Mrm/Makefile.am.orig	Mon Nov 27 05:36:00 2000
+++ include/Motif-2.1/Mrm/Makefile.am
@@ -7,10 +7,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
+mrmdir =	$(includedir)/Mrm
+else
 mrmdir =	$(prefix)/LessTif/Motif2.1/include/Mrm
+endif
 
 HEADERS1_2 =	MrmAppl.h MrmDecls.h MrmPrivate.h MrmPublic.h
 HEADERS2_0 =
@@ -33,12 +36,3 @@
 	  done
 
 endif
-#
-#
-install-data-hook:
-if Version_2_1
-if DefaultVersion21
-	if [ -d $(DESTDIR)$(prefix)/include/Mrm ]; then rm -rf $(DESTDIR)$(prefix)/include/Mrm; else rm -f $(DESTDIR)$(prefix)/include/Mrm; fi
-	(mkdir -p $(DESTDIR)$(prefix)/include && cd $(DESTDIR)$(prefix)/include && $(LN_S) ../LessTif/Motif2.1/include/Mrm Mrm)
-endif   
-endif