summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-at
blob: 1f398696959eaa7509d3728572e6ac652bdc552e (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
$NetBSD: patch-at,v 1.8 2000/12/22 17:26:19 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
@@ -91,17 +90,4 @@
 #
 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