summaryrefslogtreecommitdiff
path: root/www/mini_httpd/patches/patch-aa
blob: d0e6e0456f113a1c1a1bb4baa6438c3501e7224c (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-aa,v 1.1.1.1 2004/02/03 16:18:55 reed Exp $

--- Makefile.orig	2002-11-01 16:02:57.000000000 -0700
+++ Makefile
@@ -15,20 +15,15 @@ CRYPT_LIB =    -lcrypt
 # tree with your OpenSSL installation - depending on how you installed it,
 # it may be in /usr/local instead of /usr/local/ssl.
 #SSL_TREE =	/usr/local/ssl
-#SSL_DEFS =	-DUSE_SSL
+SSL_DEFS =	-DUSE_SSL
 #SSL_INC =	-I${SSL_TREE}/include
 #SSL_LIBS =	-L${SSL_TREE}/lib -lssl -lcrypto
 
 
-BINDIR =	/usr/local/sbin
-MANDIR =	/usr/local/man
-CC =		gcc
+BINDIR =	${PREFIX}/sbin
+MANDIR =	${PREFIX}/man
 CDEFS =		${SSL_DEFS} ${SSL_INC}
-CFLAGS =	-O ${CDEFS}
-#CFLAGS =	-g ${CDEFS}
-LDFLAGS =	-s
-#LDFLAGS =	-g
-LDLIBS =	${SSL_LIBS} ${SYSV_LIBS} ${CRYPT_LIB}
+CFLAGS =	${PKG_CFLAGS} ${CDEFS}
 
 all:		mini_httpd htpasswd