#15698: Add t1lib build support for php5 -------------------------------------------+-------------------------------- Reporter: t.munk@herzogkommunikation.de | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Keywords: variant t1lib php5 | -------------------------------------------+-------------------------------- Hi, I needed t1lib support for gdlib in php5, so I played around with the Portfile (for the first time). Below is the patch I created: {{{ --- Portfile.orig 2008-05-23 12:45:51.000000000 +0200 +++ Portfile 2008-06-21 00:46:36.000000000 +0200 @@ -350,6 +350,13 @@ --enable-sockets } +variant t1lib description {build t1lib support} { + depends_lib-append \ + port:t1lib + configure.args-append \ + --with-t1lib=${prefix} \ +} + destroot.args \ INSTALL_ROOT=${destroot} }}} I tested the installation and it worked fine. It would be great if this variant could be added to the port. Best regards, schmunk -- Ticket URL: <http://trac.macports.org/ticket/15698> MacPorts <http://www.macports.org/> Ports system for Mac OS