[MacPorts] #21155: Submission of the arb port

MacPorts noreply at macports.org
Mon Sep 7 21:50:26 PDT 2009


#21155: Submission of the arb port
----------------------------------+-----------------------------------------
 Reporter:  matt.cottrell@…       |       Owner:  macports-tickets@…                   
     Type:  submission            |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.8.0                                
 Keywords:                        |        Port:  arb                                  
----------------------------------+-----------------------------------------

Comment(by matt.cottrell@…):

 Replying to [comment:6 matt.cottrell@…]:
 > Replying to [comment:4 macsforever2000@…]:
 > > This is going to need a few changes.
 > >
 > >   - The patches patch-ARB-makefile.diff and patch-ARB-DARWIN.pl.diff
 hardcode /opt/local/.

  *  Okay, I'm starting to see how to avoid hard paths.

 The Portfile gets a line like this:

 {{{
 build.env-append    PREFIX=${prefix}
 }}}

 So the Makefile can then look like this:

  {{{
   ifdef DARWIN
  -      XMKMF := /usr/X11/bin/xmkmf
  +      XMKMF := $(PREFIX)/bin/xmkmf
   else
         XMKMF := /usr/bin/X11/xmkmf
   endif
  }}}

 I'll upload a new Portfile and set of patch files after Labor Day.

-- 
Ticket URL: <http://trac.macports.org/ticket/21155#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list