svn commit: r529818 - head/sysutils/nut-devel
Cy Schubert
cy at FreeBSD.org
Sun Mar 29 17:37:51 UTC 2020
Author: cy
Date: Sun Mar 29 17:37:39 2020
New Revision: 529818
URL: https://svnweb.freebsd.org/changeset/ports/529818
Log:
Fix build issues:
- python is invoked directly by various scripts within WRKSRC.
- build man pages and documentation.
Reported by: dutchman01 at quicknet.nl
Modified:
head/sysutils/nut-devel/Makefile (contents, props changed)
Modified: head/sysutils/nut-devel/Makefile
==============================================================================
--- head/sysutils/nut-devel/Makefile Sun Mar 29 17:30:57 2020 (r529817)
+++ head/sysutils/nut-devel/Makefile Sun Mar 29 17:37:39 2020 (r529818)
@@ -68,6 +68,8 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \
--with-group=${NUT_GROUP} \
--with-dev
+BUILD_DEPENDS= asciidoc:textproc/asciidoc
+
.if ${PORT_OPTIONS:MCGI}
LIB_DEPENDS+= libgd.so:graphics/gd
CGIDIR?= ${PREFIX}/www/cgi-bin/${PORTNAME}
@@ -173,6 +175,10 @@ CONFIGURE_ARGS+= --with-nss
.else
CONFIGURE_ARGS+= --without-openssl --without-ssl
.endif
+
+post-patch:
+ @${REINPLACE_CMD} -i '' -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/autogen.sh
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -i '' -e 's|/usr/bin/env python|${PYTHON_CMD}|'
pre-configure:
cd ${WRKSRC} && ./autogen.sh
More information about the svn-ports-all
mailing list