#34900: mythtv-core.25 ----------------------------------+----------------------------------------- Reporter: ctreleaven@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mythtv-core.25 ----------------------------------+----------------------------------------- Changes (by cal@…): * keywords: mythtv pvr multimedia => Comment: A couple of comments: - I have converted all .scpt files to .applescript text files for easier readability and easier patching - I've converted all whitespace in the Portfile to spaces, like the modeline says - `/etc` is a symlink to `/private/etc` on OS X, you don't need to reinplace that into `mythconverg_{backup,restore}.pl` - Does the port not build with llvm-gcc-4.2? apple-gcc-4.2 is really ancient and I'd rather have the port use a different (preferably pre- installed) compiler, if possible - Do not reinplace inside `${filespath}`; that's the MacPorts repository and these files are subject to change with every sync; run reinplace after copying the file - `xinstall -c` is the default - `destroot.keepdirs` is only necessary for empty directories and should be specified outside any phase - The link in `/Library/LaunchDaemons` should be present in the archive and thus needs to be generated in destroot phase - `Myth_Frontend_Logging.applescript` uses `${applications_dir}` and thus must be reinplaced with whatever the user has configured this to. This, too, should not be done in `${filesdir}`. I have moved reinplacing the scripts into post-patch phase. Is mythtv run as root with your plist file? Does mythtv need to run as root? Can we create a new user and setuid() to that user instead? So far my static analysis of the Portfile. I have attached the Portfile and files directory with my current modifications and will now rebuild qt4-mac with +mysql to start debugging. -- Ticket URL: <https://trac.macports.org/ticket/34900#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS