Changeset View
Changeset View
Standalone View
Standalone View
sysutils/openzfs/Makefile
Show All 28 Lines | |||||
PYTHON_DESC= Build the pyzfs library, arc_summary, arcstat, and dbufstat utilities | PYTHON_DESC= Build the pyzfs library, arc_summary, arcstat, and dbufstat utilities | ||||
TESTS_DESC= Install the ZFS Test Suite | TESTS_DESC= Install the ZFS Test Suite | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_PROJECT= zfs | GH_PROJECT= zfs | ||||
GH_TAGNAME= 2d5622f5b | GH_TAGNAME= 2d5622f5b | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.options.mk> | ||||
freqlabs: Why keep pre/post in openzfs-kmod but change here? | |||||
Done Inline ActionsAh, better to change it here too, bsd.port.options.mk is the preferred form. rene: Ah, better to change it here too, bsd.port.options.mk is the preferred form. | |||||
.if ${OSVERSION} >= 1300000 && ${OSVERSION} < 1300013 | |||||
IGNORE= needs FreeBSD 12/13 with AES-CCM support | |||||
.endif | |||||
.if ${PORT_OPTIONS:MDEBUG} | .if ${PORT_OPTIONS:MDEBUG} | ||||
CONFIGURE_ARGS+= --enable-debug --enable-debuginfo | CONFIGURE_ARGS+= --enable-debug --enable-debuginfo | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MPYTHON} | .if ${PORT_OPTIONS:MPYTHON} | ||||
CONFIGURE_ARGS+= --with-python=${PYTHON_VER} | CONFIGURE_ARGS+= --with-python=${PYTHON_VER} | ||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} | BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} | ||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} | BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} | ||||
Show All 10 Lines | cd ${WRKSRC} && sed -i '' '1s:@PYTHON_SHEBANG@:python3:' \ | ||||
tests/test-runner/bin/zts-report.py.in \ | tests/test-runner/bin/zts-report.py.in \ | ||||
tests/test-runner/bin/test-runner.py.in \ | tests/test-runner/bin/test-runner.py.in \ | ||||
cmd/arcstat.in \ | cmd/arcstat.in \ | ||||
cmd/dbufstat.in | cmd/dbufstat.in | ||||
pre-configure: | pre-configure: | ||||
cd ${WRKSRC} && ./autogen.sh | cd ${WRKSRC} && ./autogen.sh | ||||
.include <bsd.port.post.mk> | .include <bsd.port.mk> |
Why keep pre/post in openzfs-kmod but change here?