[MacPorts] #17892: tuntaposx updates
#17892: tuntaposx updates ------------------------------+--------------------------------------------- Reporter: mlk@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tuntaposx | Port: tuntaposx ------------------------------+--------------------------------------------- tuntaposx does not compile if 'gcc' or 'g++' in the user's PATH are not those provided by Apple. Put another way: tuntaposx ''requires'' the use of Apple's GCC and G++ to successfully compile. I've included 2 patch files to change the Makefiles to use Apple's GCC (/usr/bin/gcc) and G++ (/usr/bin/g++) explicitly. I've also included a darwin 9 specific change to use the 10.5U SDK (the Makefiles use the 10.4U SDK by default). The attached archive contains both the Portfile patch as well as the new files/patches. -- Ticket URL: <http://trac.macports.org/ticket/17892> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17892: tuntaposx updates ------------------------------+--------------------------------------------- Reporter: mlk@… | Owner: febeling@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tuntaposx | Port: tuntaposx ------------------------------+--------------------------------------------- Changes (by raimue@…): * owner: macports-tickets@… => febeling@… -- Ticket URL: <http://trac.macports.org/ticket/17892#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17892: tuntaposx updates ------------------------------+--------------------------------------------- Reporter: mlk@… | Owner: febeling@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tuntaposx | Port: tuntaposx ------------------------------+--------------------------------------------- Comment(by jmr@…): In fact, ${configure.cc} and ${configure.cxx} should be used instead of hardcoding anything. -- Ticket URL: <http://trac.macports.org/ticket/17892#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17892: tuntaposx updates ------------------------------+--------------------------------------------- Reporter: mlk@… | Owner: febeling@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tuntaposx | Port: tuntaposx ------------------------------+--------------------------------------------- Comment(by mlk@…): I've updated the Portfile and patches to be more generic, by setting the build environment (build.env) CC and CXX variables to be Apple's compiler- variants in /usr/bin, and removing those explicit dependencies from the Makefiles. I also changed the SDK version to use the build environment variable MACOSX_DEPLOYMENT_TARGET instead of having a special patch for Darwin 9. This time, I'm attaching the whole Portfile and related files instead of patches; just easier with the number of changes. -- Ticket URL: <http://trac.macports.org/ticket/17892#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17892: tuntaposx updates ------------------------------+--------------------------------------------- Reporter: mlk@… | Owner: febeling@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tuntaposx | Port: tuntaposx ------------------------------+--------------------------------------------- Comment(by febeling@…): First: thanks for looking into this! It would be easier for if you'd provide a patch, because otherwise I have to read it line by line. I'm really short on time right now and in the middle of moving appartments, so that might speed things up. Another option to speed things is to talk another comitter into testing and checking in, since the port is declared openmaintainer, which means it is ok with me. Also, we should handle differnt problems separately, so this update to another SDK should go as a second change I guess. (What do we gain by that?) -- Ticket URL: <http://trac.macports.org/ticket/17892#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17892: tuntaposx updates ------------------------------+--------------------------------------------- Reporter: mlk@… | Owner: febeling@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tuntaposx | Port: tuntaposx ------------------------------+--------------------------------------------- Comment(by mlk@…): OK. I'm attaching just the 'diff -u' of the Portfile. Changing the SDK is done there as a 'reinplace', and hence can be easily removed or changed. Using the 10.5u SDK means that the resulting code will execute only on a computer running 10.5 or newer; using 10.4u SDK means that the resulting code will execute only on a computer running 10.4 or newer. There are sometimes features in a newer SDK which make it attractive to use; I do not know if this is the case for tuntaposx, but it certainly can't hurt. -- Ticket URL: <http://trac.macports.org/ticket/17892#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17892: tuntaposx updates -------------------------------+-------------------------------------------- Reporter: mlk@… | Owner: febeling@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: tuntaposx Port: tuntaposx | -------------------------------+-------------------------------------------- Changes (by febeling@…): * status: new => closed * resolution: => fixed Comment: r45156. Thanks mlk! -- Ticket URL: <http://trac.macports.org/ticket/17892#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts