#47155: djview @4.10 Update to new version ----------------------+-------------------------------- Reporter: s@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: haspatch | Port: djview ----------------------+-------------------------------- I'm attaching a diff to the Portfile and two new patch files to update djview to version 4.10. The current version contains a workaround for a bug in qmake (see r73290 for the same workaround in another port) where an extra -arch flag gets passed to the linker which breaks the link. The workaround removes the flag post-configure. In 4.10, the file that needs the workaround is Makefile.qmake which isn't built until make is invoked. One of the patch files patches Makefile.am (and Makefile.in) to modify the rule that creates Makefile.qmake to delete the extra -arch. The other patch file fixes the invocation of $(MAKE) -f Makefile.qmake djview which fails on OS X because Makefile.qmake does not have a djview target. The default target in Makefile.qmake works just as well, so we use that. The second patch should be upstreamed (which I'll do shortly). The qmake bug should really be fixed and the first patch deleted, but I don't have time to investigate qmake. -- Ticket URL: <https://trac.macports.org/ticket/47155> MacPorts <https://www.macports.org/> Ports system for OS X