Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#15698 closed enhancement (fixed)

Add t1lib build support for php5

Reported by: t.munk@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: variant t1lib php5 Cc: jyrkiwahlstedt
Port:

Description

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

Change History (3)

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Owner: changed from macports-tickets@… to ryandesign@…

Assigning to maintainers.

comment:2 Changed 12 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Thanks! +t1lib variant added to php4, php5 and php5-devel in r37735.

comment:3 Changed 12 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.