diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-11-30 09:39:50 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-11-30 09:39:50 +0000 |
commit | 702b9a2d7929cf7620617385d04c2de68d433070 (patch) | |
tree | 62467d96d15ef6e99157ecf29072bcaff1a7fc22 /www/hiawatha | |
parent | d6835d4aae12800da21ddf3f3afa75fc5be2a108 (diff) | |
download | ports-702b9a2d7929cf7620617385d04c2de68d433070.tar.gz ports-702b9a2d7929cf7620617385d04c2de68d433070.zip |
www/hiawatha: Unbreak build with XSLT=off
${LOCALBASE}/include is implicitly added to the search path when
Hiawatha is built with XSLT=on. Without it the system mbed TLS
headers cannot be found anymore. Add USES=localbase:ldflags to the
MBDEDTLS option to work around this.
src/filehashes.c:27:10: fatal error: 'mbedtls/sha256.h' file not found
#include "mbedtls/sha256.h"
^~~~~~~~~~~~~~~~~~
- While here reset maintainer and take maintainership after the
third consecutive timeout
PR: 224156
Reported by: Ross McKelvie <ross@exitzero.uk>
Approved by: portmaster@BSDforge.com (maintainer timeout, 2 weeks)
Notes
Notes:
svn path=/head/; revision=486241
Diffstat (limited to 'www/hiawatha')
-rw-r--r-- | www/hiawatha/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/hiawatha/Makefile b/www/hiawatha/Makefile index 0371eb74e067..8ca3340bfd05 100644 --- a/www/hiawatha/Makefile +++ b/www/hiawatha/Makefile @@ -6,7 +6,7 @@ PORTVERSION= 10.8.3 CATEGORIES= www MASTER_SITES= https://www.hiawatha-webserver.org/files/ -MAINTAINER= portmaster@BSDforge.com +MAINTAINER= tobik@FreeBSD.org COMMENT= Advanced and secure webserver for Unix LICENSE= GPLv2 @@ -21,7 +21,6 @@ USES= cmake compiler:c11 USE_LDCONFIG= yes USE_RC_SUBR= hiawatha -LDFLAGS+= -L${LOCALBASE}/lib CMAKE_ARGS+= -DCMAKE_INSTALL_LOCALSTATEDIR=/var \ -DCMAKE_INSTALL_MANDIR=${PREFIX}/man \ -DWEBROOT_DIR=${WWWDIR} \ @@ -49,6 +48,7 @@ XSLT_USE= GNOME=libxslt XSLT_CMAKE_BOOL= ENABLE_XSLT MBEDTLS_LIB_DEPENDS= libmbedtls.so:security/mbedtls +MBEDTLS_USES= localbase:ldflags post-patch: @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \ |