summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-av
blob: 3696ae9097451ab689c0f40edb4cd7846a9bcf2a (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-av,v 1.3 2000/12/22 17:26:19 jlam Exp $

--- include/Motif-2.0/Mrm/Makefile.am.orig	Sun Jan  2 08:22:55 2000
+++ include/Motif-2.0/Mrm/Makefile.am
@@ -8,10 +8,14 @@
 #
 # Install headers
 #
-# Lets put the headers in a sub directory to avoid
+# Let's put the headers in a sub directory if not a default install.
 # poluting /usr/local with more directories for default installs.
 #
+if DefaultVersion20
+mrmdir =	$(includedir)/Mrm
+else
 mrmdir =	$(prefix)/LessTif/Motif2.0/include/Mrm
+endif
 
 HEADERS1_2 =	MrmAppl.h MrmDecls.h MrmPrivate.h MrmPublic.h
 
@@ -30,11 +34,3 @@
 	  done
 
 endif
-install-data-hook:
-if Version_2_0
-if DefaultVersion20
-	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.0/include/Mrm Mrm)
-endif
-endif
-