summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-at
blob: 1b87bf45335fac1d19d3c671f970c188b470b10d (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
34
35
36
37
38
39
40
$NetBSD: patch-at,v 1.9 2001/06/30 19:08:25 jlam Exp $

--- include/Motif-1.2/Xm/Makefile.am.orig	Wed Oct 11 15:36:18 2000
+++ include/Motif-1.2/Xm/Makefile.am
@@ -73,6 +73,7 @@
 
 EXTRA_DIST=	$(xm_both_h)
 
+if Version_1_2
 #
 # Install headers
 #
@@ -81,8 +82,6 @@
 #
 xmdir=	$(prefix)/LessTif/Motif1.2/include/Xm
 
-if Version_1_2
-
 xm_HEADERS = $(xm_both_h)
 #
 # Note Xm.h is built by configure, therefore it's not necessarily in
@@ -90,18 +89,4 @@
 # tree which may be elsewhere.
 #
 xm_DATA = Xm.h
-
-else
-#
-# Not Version_1_2
-#
-xm_HEADERS = $(xm_12_h)
-
-endif
-install-data-hook:
-if Version_1_2
-if DefaultVersion12
-	if [ -d $(DESTDIR)$(prefix)/include/Xm ]; then rm -rf $(DESTDIR)$(prefix)/include/Xm; else rm -f $(DESTDIR)$(prefix)/include/Xm; fi
-	(mkdir -p $(DESTDIR)$(prefix)/include && cd $(DESTDIR)$(prefix)/include && $(LN_S) ../LessTif/Motif1.2/include/Xm Xm)
-endif
 endif