Date: Sun, 3 Jul 2022 16:10:14 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bd2dda551041 - main - comms/sdr++: fix packaging on non-x86 Message-ID: <202207031610.263GAE5X052949@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd2dda5510416ee34f5566d3739ff1b18f9bc5fe commit bd2dda5510416ee34f5566d3739ff1b18f9bc5fe Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-07-03 16:09:14 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-07-03 16:10:03 +0000 comms/sdr++: fix packaging on non-x86 pkg-static: Unable to access file /wrkdirs/usr/ports/comms/sdr++/work/stage/usr/local/include/correct-sse.h:No such file or directory --- comms/sdr++/Makefile | 10 +++++++++- comms/sdr++/pkg-plist | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/comms/sdr++/Makefile b/comms/sdr++/Makefile index fd3c279512bf..c8b9133bccb0 100644 --- a/comms/sdr++/Makefile +++ b/comms/sdr++/Makefile @@ -42,4 +42,12 @@ RTAUDIO_DESC= RtAudio support RTAUDIO_CMAKE_BOOL= OPT_BUILD_AUDIO_SINK RTAUDIO_LIB_DEPENDS= librtaudio.so:audio/rtaudio -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" || ${ARCH} == "i386" +PLIST_SUB+= SSE="" +.else +PLIST_SUB+= SSE="@comment " +.endif + +.include <bsd.port.post.mk> diff --git a/comms/sdr++/pkg-plist b/comms/sdr++/pkg-plist index f54403e8e57c..4bdcea04c8bf 100644 --- a/comms/sdr++/pkg-plist +++ b/comms/sdr++/pkg-plist @@ -1,5 +1,5 @@ bin/sdrpp -include/correct-sse.h +%%SSE%%include/correct-sse.h include/correct.h lib/libcorrect.a lib/libcorrect.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207031610.263GAE5X052949>