diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2012-10-28 22:20:28 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2012-10-28 22:20:28 +0000 |
commit | 02634ff028bd74a092d3914f78bbbddd71c59fcd (patch) | |
tree | 3c57e5adb7ec5400a7f8e2b96831fed9ef148bca /www/bozohttpd/Makefile | |
parent | e2058720564a278129b926763788f3e98edf48f4 (diff) | |
download | ports-02634ff028bd74a092d3914f78bbbddd71c59fcd.tar.gz ports-02634ff028bd74a092d3914f78bbbddd71c59fcd.zip |
Notes
Diffstat (limited to 'www/bozohttpd/Makefile')
-rw-r--r-- | www/bozohttpd/Makefile | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile index ef2c081568a5..432c9c1c7350 100644 --- a/www/bozohttpd/Makefile +++ b/www/bozohttpd/Makefile @@ -23,31 +23,28 @@ HTPASSWD_DESC= Enable htpassword support SSL_DESC= Enable SSL support CGI_DESC= Enable CGI support -#make happy portlint -.if empty(PORT_OPTIONS:MSSL) -.else -USE_OPENSSL= yes -.endif - .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MHTPASSWD} -CFLAGS+= -DDO_HTPASSWD -MAKE_ARGS+= 'LDFLAGS+= -lcrypt' +MAKE_ARGS+= 'COPTS+= -DDO_HTPASSWD' \ + 'LDFLAGS+= -lcrypt' .else -CFLAGS+= -UDO_HTPASSWD +MAKE_ARGS+= 'COPTS+= -UDO_HTPASSWD' .endif .if ${PORT_OPTIONS:MSSL} -CFLAGS+= -UNO_SSL_SUPPORT +USE_OPENSSL= yes +MAKE_ARGS+= 'COPTS+= -UNO_SSL_SUPPORT' .else -CFLAGS+= -DNO_SSL_SUPPORT +MAKE_ARGS+= 'COPTS+= -DNO_SSL_SUPPORT' \ + 'CRYPTOLIBS=' \ + 'CRYPTODEPS=' .endif .if ${PORT_OPTIONS:MCGI} -CFLAGS+= -UNO_CGIBIN_SUPPORT +MAKE_ARGS+= 'COPTS+= -UNO_CGIBIN_SUPPORT' .else -CFLAGS+= -DNO_CGIBIN_SUPPORT +MAKE_ARGS+= 'COPTS+= -DNO_CGIBIN_SUPPORT' .endif MAN8= bozohttpd.8 |