summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-ag
blob: 1edd053b8c09a078082f2f31517521890fa00c16 (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
$NetBSD: patch-ag,v 1.13 2001/06/30 19:08:23 jlam Exp $

--- clients/Motif-2.0/uil/Makefile.am.orig	Tue May  1 08:37:20 2001
+++ clients/Motif-2.0/uil/Makefile.am
@@ -5,9 +5,13 @@
 if Version_2_0
 bin_PROGRAMS=	uil
 noinst_PROGRAMS   = newuil
+if DefaultVersion20
+bindir = $(exec_prefix)/bin
+else
+bindir = $(exec_prefix)/LessTif/Motif2.0/bin
+endif
 endif
 
-bindir = $(exec_prefix)/LessTif/Motif2.0/bin
 
 MAINTAINERCLEANFILES=Makefile.in lex.c yacc.c yacc.h
 
@@ -65,9 +69,3 @@
 	      rm $$i; \
 	   fi ; \
 	   done
-
-install-data-hook:
-if DefaultVersion20
-	-rm -f $(DESTDIR)$(exec_prefix)/bin/$(bin_PROGRAMS)
-	(cd $(DESTDIR)$(exec_prefix)/bin && $(LN_S) ../LessTif/Motif2.0/bin/$(bin_PROGRAMS) .)
-endif