[Bug 240043] audio/linux-c7-alsa: how to make it work?
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 9 01:06:50 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240043
--- Comment #43 from Alex S <iwtcex at gmail.com> ---
(In reply to Tijl Coosemans from comment #41)
This is weird, apulse and Grim Fandango fail for me, otherwise this seems to
work.
> The port now rebuilds the plugin with patches from audio/alsa-plugins.
Out of curiosity, any particular reason for not using --sysroot=/compat/linux
flag?
In my case (git tree somewhere in $HOME, non-root user, no additional tools)
building this requires:
--- a/audio/linux-c7-alsa-plugins-oss/Makefile
+++ b/audio/linux-c7-alsa-plugins-oss/Makefile
@@ -92,11 +92,11 @@ do-build:
do-install:
.if !empty(COMPAT32_CFLAGS_${ARCH})
@(cd ${WRKSRC32} && ${LINUXBASE}/usr/bin/make install-strip \
- DESTDIR=${STAGEDIR}${LINUXBASE})
+ DESTDIR=/compat/../${STAGEDIR}${LINUXBASE})
${RM} -r ${STAGEDIR}${LINUXBASE}/usr/lib/alsa-lib/*.la
.endif
@(cd ${WRKSRC} && ${LINUXBASE}/usr/bin/make install-strip \
- DESTDIR=${STAGEDIR}${LINUXBASE})
+ DESTDIR=/compat/../${STAGEDIR}${LINUXBASE})
${RM} -r ${STAGEDIR}${LINUXBASE}${LIBDIR_${ARCH}}/alsa-lib/*.la
${RM} -r ${STAGEDIR}${LINUXBASE}/etc ${STAGEDIR}${LINUXBASE}/usr/share
to work around a nasty Linuxulator habit of returning /compat/linux/<whatever>
directory entries instead of, say, merging them with <whatever> directory
entries, otherwise this fails with "/bin/mkdir: cannot create directory
'/usr/home': Permission denied" message, as well as specifying ARCH=amd64,
since I don't have this defined anywhere.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the freebsd-emulation
mailing list