source: trunk/dports/security/secpwgen/files/patch-Makefile.proto @ 12176

Last change on this file since 12176 was 12176, checked in by mww, 15 years ago

new port security/secpwgen

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1--- Makefile.proto      Wed May  4 21:07:05 2005
2+++ Makefile    Fri May  6 14:09:04 2005
3@@ -24,8 +24,8 @@
4 # The include directory is the one containing the cryptlib.h file.
5 # The library path is the one containing libcl.so or libcl.a.
6 ##
7-#CRYPTO_INCLUDE_PATH = -I/replace/this/with/real/path
8-#CRYPTO_LIBRARY_PATH = -L/replace/this/with/real/path
9+CRYPTO_INCLUDE_PATH = -I$(PREFIX)/include
10+CRYPTO_LIBRARY_PATH = -L$(PREFIX)/lib
11 
12 ##
13 # If using OpenSSL, uncomment the following 3 lines.
14@@ -37,15 +37,14 @@
15 ##
16 # If using cryptlib, uncomment the following 3 lines.
17 ##
18-#CRYPTO_CFLAGS = -D_REENTRANT
19-#CRYPTO_OBJS   = secure_random_cryptlib.o
20-#CRYPTO_LIBS   = -lcl -lpthread
21+CRYPTO_CFLAGS = -D_REENTRANT
22+CRYPTO_OBJS   = secure_random_cryptlib.o
23+CRYPTO_LIBS   = -lcl -lpthread
24 
25 ##
26 # Change PREFIX to install to different directories. The binary is installed
27 # in $PREFIX/bin, and the man in $PREFIX/man/man1
28 ##
29-PREFIX = /usr/local
30 
31 ##
32 # On some operating systems (most notably Linux 2.6 kernels) using mlockall
33@@ -54,13 +53,13 @@
34 # you experience crashes immediately at startup, uncomment the following line.
35 ##
36 #
37-#NO_MLOCKALL = -DDISABLE_MLOCKALL
38+NO_MLOCKALL = -DDISABLE_MLOCKALL
39 
40 ##
41 # Sometimes you have only dynamic libraries available. In that case COMMENT
42 # the following line.
43 ##
44-LINK_STATIC = -static
45+#LINK_STATIC = -static
46 
47 ##############################################################################
48 # NO USER MODIFIABLE PARTS AFTER THIS POINT
49@@ -84,7 +83,7 @@
50 
51 install: secpwgen
52        cp -i secpwgen $(PREFIX)/bin
53-       cp -i secpwgen.1 $(PREFIX)/man/man1
54+       cp -i secpwgen.1 $(PREFIX)/share/man/man1
55 
56 clean:
57        rm -f *.o secpwgen
Note: See TracBrowser for help on using the repository browser.