[Bug 240043] audio/linux-c7-alsa: how to make it work?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 9 20:36:26 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240043

--- Comment #45 from commit-hook at freebsd.org ---
A commit references this bug:

Author: tijl
Date: Mon Sep  9 20:36:11 UTC 2019
New revision: 511702
URL: https://svnweb.freebsd.org/changeset/ports/511702

Log:
  - Make the port safe to build as root. [1]

  Given an absolute /path Linux programs first try to access
  /compat/linux/path before trying /path.  That means mkdir -p ${STAGEDIR}
  will always create /compat/linux${STAGEDIR} when run as root and echo >
  /dev/null will create /compat/linux/dev/null as a regular file.  Fix this
  by running configure with FreeBSD /bin/sh and build/install using FreeBSD
  gmake.  PATH is set to /compat/linux/usr/bin and MKDIR_P to /bin/mkdir -p
  so all commands except mkdir are still Linux programs.

  - Add USES=libtool:build because libtoolize is needed. [2]
  - Add USES=pkgconfig.
  - Remove -DFREEBSD_OSS_BUFSZ_P2 because it breaks some games. [3]
  - Replace -nostdinc -isystem ... with --sysroot=${LINUXBASE}. [3]
  - Include bsd.port.options.mk to get ARCH. [3]

  PR:           240043
  Reported by:  VVD <vvd at unislabs.com> [1]
  Reported by:  Giacomo Olgeni <olgeni at olgeni.com> [2]
  Reported by:  Alex S <iwtcex at gmail.com> [3]

Changes:
  head/audio/linux-c7-alsa-plugins-oss/Makefile

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-emulation mailing list