On 2021/11/14 21:58, Klemens Nanni wrote:
> I could've needed this for looking into an `iasl -d' crash.
>
> Needs passing install flags, otherwise `-s' is used and packages contain
> no symbols at all.
>
> OK?
>
> diff 687ed3e17ea8324ff4301db3737343a156c287f8
> 6f305617e1fef403ecff945ce2554b9d814a5c5e
> blob - f995a59e190966222c1fd234a47a537941e61d84
> blob + c8df2394651e1ef30ec9aadb8f04c8969e132ca3
> --- devel/acpica/Makefile
> +++ devel/acpica/Makefile
> @@ -3,7 +3,10 @@
> COMMENT = reference implementation of ACPI tools
> DISTNAME = acpica-unix-20210930
> PKGNAME = ${DISTNAME:S/-unix//}
> +REVISION = 0
>
> +DEBUG_PACKAGES = ${BUILD_PACKAGES}
> +
> CATEGORIES = devel
>
> HOMEPAGE = https://acpica.org/
> @@ -20,6 +23,9 @@ BUILD_DEPENDS = devel/bison
> MAKE_FLAGS = CC="${CC}" HOST=_LINUX
> FAKE_FLAGS = DESTDIR=
>
> +# pass what INSTALL_PROGRAM uses
> +FAKE_FLAGS += INSTALLFLAGS='${INSTALL_COPY} ${INSTALL_STRIP}
> -m ${BINMODE}'
ok either way, but I would prefer to drop INSTALL_COPY, it is not used
elsewhere in ports Makefiles (it is present in an _installed_ makefile
for sendmail)
(We could also remove it from bsd.port.mk I think .. I'll try that in
a bulk to make sure)
> +
> do-test:
> cd ${WRKSRC}/tests/templates && sh templates.sh 1
>