| @@ -1,37 +1,40 @@ | | | @@ -1,37 +1,40 @@ |
1 | # $NetBSD: Makefile,v 1.26 2023/08/14 05:25:32 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.27 2023/08/28 07:52:26 nia Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= yaws-2.1.1 | | 4 | DISTNAME= yaws-2.1.1 |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 3 |
6 | CATEGORIES= www | | 6 | CATEGORIES= www |
7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=erlyaws/} | | 7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=erlyaws/} |
8 | GITHUB_TAG= ${DISTNAME} | | 8 | GITHUB_TAG= ${DISTNAME} |
9 | | | 9 | |
10 | MAINTAINER= bartosz.kuzma@gmail.com | | 10 | MAINTAINER= bartosz.kuzma@gmail.com |
11 | HOMEPAGE= http://yaws.hyber.org/ | | 11 | HOMEPAGE= http://yaws.hyber.org/ |
12 | COMMENT= High perfomance HTTP 1.1 webserver written in Erlang | | 12 | COMMENT= High perfomance HTTP 1.1 webserver written in Erlang |
13 | LICENSE= modified-bsd | | 13 | LICENSE= modified-bsd |
14 | | | 14 | |
15 | WRKSRC= ${WRKDIR}/yaws-${DISTNAME} | | 15 | WRKSRC= ${WRKDIR}/yaws-${DISTNAME} |
16 | | | 16 | |
17 | BUILD_DEFS+= VARBASE | | 17 | BUILD_DEFS+= VARBASE |
18 | | | 18 | |
19 | USE_LIBTOOL= yes | | 19 | USE_LIBTOOL= yes |
20 | USE_TOOLS+= aclocal autoconf automake autoreconf gmake perl tar | | 20 | USE_TOOLS+= aclocal autoconf automake autoreconf gmake perl tar |
21 | GNU_CONFIGURE= yes | | 21 | GNU_CONFIGURE= yes |
22 | | | 22 | |
23 | PKG_SYSCONFSUBDIR= yaws | | 23 | PKG_SYSCONFSUBDIR= yaws |
24 | | | 24 | |
| | | 25 | # Disable warnings as errors for more portable builds. |
| | | 26 | MAKE_FLAGS+= WARNINGS_AS_ERRORS= |
| | | 27 | |
25 | .include "../../mk/bsd.prefs.mk" | | 28 | .include "../../mk/bsd.prefs.mk" |
26 | | | 29 | |
27 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | | 30 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} |
28 | CONFIGURE_ARGS+= --with-extrainclude=${PAMBASE}/include/security | | 31 | CONFIGURE_ARGS+= --with-extrainclude=${PAMBASE}/include/security |
29 | CONFIGURE_ARGS+= ERLANG_INSTALL_LIB_DIR_yaws=${PREFIX}/lib/yaws | | 32 | CONFIGURE_ARGS+= ERLANG_INSTALL_LIB_DIR_yaws=${PREFIX}/lib/yaws |
30 | CONFIGURE_ARGS+= wwwdir=${WWWDIR} | | 33 | CONFIGURE_ARGS+= wwwdir=${WWWDIR} |
31 | | | 34 | |
32 | # supress generation of pdf and ps files | | 35 | # supress generation of pdf and ps files |
33 | CONFIGURE_ENV+= ac_cv_prog_DVIPS= | | 36 | CONFIGURE_ENV+= ac_cv_prog_DVIPS= |
34 | | | 37 | |
35 | # Not compatible with SunOS PAM headers | | 38 | # Not compatible with SunOS PAM headers |
36 | .if ${OPSYS} == "SunOS" | | 39 | .if ${OPSYS} == "SunOS" |
37 | CONFIGURE_ARGS+= --disable-pam | | 40 | CONFIGURE_ARGS+= --disable-pam |