pkgsrc/www/lhs/patches/patch-aa
agc 4310f377b4 Initial import of lhs-0.1 into the NetBSD Packages Collection.
Provided in PR 17227 by Dawid Szymanski (dawszy@tgr.lubin.edu.pl),
modified slightly by myself.

lhs is a beta version of very simple http server.  Only static files
are supported - CGI, PHP and SSI are not allowed.  However, there is
support for both IPv6 and SSL.  By default it will listen on ports
8000 and 8001 and read files from ${PREFIX}/share/httpd/htdocs and
will not change uid for other unless you use the -u option.
2002-06-18 12:09:25 +00:00

15 lines
429 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2002/06/18 12:09:25 agc Exp $
--- Makefile.in.orig Sun Feb 25 14:42:39 2001
+++ Makefile.in Tue Jun 18 12:58:26 2002
@@ -1,7 +1,7 @@
-CC = gcc -O2 -Wall
-LIBS = #LIBS#
+CC = gcc -O2 -Wall -DDEFAULT_ROOT_DIR='"${DEFAULT_ROOT_DIR}"'
+LIBS = -L${OPENSSL_ROOT}/lib -Wl,-R${OPENSSL_ROOT}/lib #LIBS#
-default: lhs
+default all: lhs
lhs: lhs.c lhs.h content-type.h icons.h
$(CC) lhs.c -o lhs $(LIBS)