[MacPorts] #22110: libnova portfile submission

MacPorts noreply at macports.org
Thu Oct 15 22:19:49 PDT 2009


#22110: libnova portfile submission
---------------------------------+------------------------------------------
 Reporter:  jtomshine@…          |       Owner:  macports-tickets@…                   
     Type:  submission           |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.1                                
 Keywords:                       |        Port:  libnova                              
---------------------------------+------------------------------------------

Comment(by jtomshine@…):

 Whomever wrote the original include files did it in such a way that they
 don't properly reference one-another.  E.g.:

 libnova.h contains:
 #include <libnova/earth.h>

 even though libnova.h and earth.h are in the same directory
 (/opt/local/includes/libnova/).  Subsequent attempts to include these
 files when building the "indi" package (not yet a macport) fail due to the
 reference issue.  Although my first instinct was to fix the problem
 directly by removing the "libnova/" bit from all the includes, this
 prevented the libnova package itself from compiling at all.

 Rather than an extensive series of patches, it seemed that the symlinks
 solution fixed the reference problem without breaking anything else.
 Additionally, it's an approach used by some other packages (e.g., libpng,
 on a slightly less extensive scale).

 Given the relatively small audience that this package will likely have, I
 can't see any harm in the symlink approach, even if it is "lame".

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


More information about the macports-tickets mailing list