mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04:00
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
--- Makefile.orig 2021-02-28 05:20:51 UTC
|
|
+++ Makefile
|
|
@@ -14,7 +14,7 @@
|
|
# NO_SSL_SUPPORT /* don't support ssl (https) */
|
|
# DO_HTPASSWD /* support .htpasswd files */
|
|
# NO_LUA_SUPPORT /* don't support Lua for dynamic content */
|
|
-# NO_BLOCKLIST_SUPPORT /* don't support blocklist */
|
|
+# NO_BLACKLIST_SUPPORT /* don't support blacklist */
|
|
#
|
|
# other system specific defines:
|
|
# HAVE_NBUTIL_H /* netbsd compat is in <nbutil.h>
|
|
@@ -24,20 +24,17 @@
|
|
# for setting CFLAGS relevant to your make, eg
|
|
# % make COPTS="-DDO_HTPASSWD"
|
|
|
|
-COPTS+= -DDO_HTPASSWD
|
|
PROG= bozohttpd
|
|
-LINKS= ${BINDIR}/bozohttpd ${BINDIR}/httpd
|
|
MAN= bozohttpd.8
|
|
-MLINKS+=bozohttpd.8 httpd.8
|
|
SRCS= bozohttpd.c ssl-bozo.c auth-bozo.c cgi-bozo.c daemon-bozo.c \
|
|
tilde-luzah-bozo.c dir-index-bozo.c content-bozo.c lua-bozo.c
|
|
SRCS+= main.c
|
|
|
|
-LDADD= -lblocklist -lcrypt -llua -lm
|
|
-DPADD= ${LIBBLOCKLIST} ${LIBCRYPT} ${LIBLUA} ${LIBM}
|
|
-
|
|
WARNS?= 4
|
|
|
|
+BINDIR=$(PREFIX)/bin
|
|
+MANDIR=$(PREFIX)/share/man/man
|
|
+
|
|
.if defined(.OS.MAKE)
|
|
OPSYS= ${.OS.MAKE}
|
|
.else
|
|
@@ -48,9 +45,6 @@ LDADD+= -lnbutil
|
|
CPPFLAGS+= -DHAVE_NBUTIL_H
|
|
LDADD+= -lnbutil
|
|
.endif
|
|
-
|
|
-LDADD+= -lssl -lcrypto
|
|
-DPADD+= ${LIBSSL} ${LIBCRYPTO}
|
|
|
|
#
|
|
# Build release things.
|