summaryrefslogtreecommitdiff
path: root/security/pgp5/files/patch-ac
blob: 2ff7c777ef868930687ce2ffef437408aed3c7f3 (plain) (blame)
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
--- apps/pgp/Makefile.in.orig	Sat Feb  7 21:54:56 1998
+++ apps/pgp/Makefile.in	Sun Feb 14 13:59:04 1999
@@ -7,7 +7,9 @@
 #
 
 PROG = pgp
-INSTALLPROGS = $(PROG)
+# Set this to "pgp5" if you want the keep old and new versions in parallel
+INSTPGP = pgp5
+INSTALLPROGS =
 
 COMMON=../common
 LOCALINCLUDES = -I$(COMMON) -I$(srcdir)/$(COMMON)
@@ -21,11 +23,11 @@
 
 install:: $(PROG)
 	(						\
-	    $(INSTALL) -m 755 pgp $(DESTDIR)$(bindir);	\
+	    $(INSTALL) -m 755 pgp $(DESTDIR)$(bindir)/$(INSTPGP);	\
 	    cd $(DESTDIR)$(bindir);			\
 	    $(RM) pgpe pgps pgpv pgp_old;		\
-	    $(LN_S) pgp pgpe;				\
-	    $(LN_S) pgp pgps;				\
-	    $(LN_S) pgp pgpv;				\
-	    $(LN_S) pgp pgp_old				\
+	    $(LN_S) $(INSTPGP) pgpe;			\
+	    $(LN_S) $(INSTPGP) pgps;			\
+	    $(LN_S) $(INSTPGP) pgpv;			\
+	    $(LN_S) $(INSTPGP) pgp_old			\
 	)