pkgsrc-ng/security/openssl/patches/patch-tools_Makefile
2014-08-11 13:27:10 +02:00

28 lines
851 B
Plaintext

$NetBSD: patch-tools_Makefile,v 1.1.2.2 2014/04/08 10:09:26 tron Exp $
Adjust build procedure.
--- tools/Makefile.orig 2006-02-04 02:49:36.000000000 +0100
+++ tools/Makefile 2007-07-31 17:20:05.000000000 +0200
@@ -4,6 +4,7 @@
DIR= tools
TOP= ..
+EXAMPLEDIR= $(INSTALLTOP)/share/examples/openssl
CC= cc
INCLUDES= -I$(TOP) -I../../include
CFLAG=-g
@@ -28,9 +29,9 @@ install:
done;
@for i in $(MISC_APPS) ; \
do \
- (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
- chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
- mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
+ (cp $$i $(INSTALL_PREFIX)$(EXAMPLEDIR)/$$i.new; \
+ chmod 755 $(INSTALL_PREFIX)$(EXAMPLEDIR)/$$i.new; \
+ mv -f $(INSTALL_PREFIX)$(EXAMPLEDIR)/$$i.new $(INSTALL_PREFIX)$(EXAMPLEDIR)/$$i ); \
done;
files: