[126424] trunk/dports/print/ttf2pt1/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Oct 9 16:35:26 PDT 2014
Revision: 126424
https://trac.macports.org/changeset/126424
Author: ryandesign at macports.org
Date: 2014-10-09 16:35:26 -0700 (Thu, 09 Oct 2014)
Log Message:
-----------
ttf2pt1: use the right compiler, use the right -arch flags, add universal variant, remove unused zlib dependency
Modified Paths:
--------------
trunk/dports/print/ttf2pt1/Portfile
Modified: trunk/dports/print/ttf2pt1/Portfile
===================================================================
--- trunk/dports/print/ttf2pt1/Portfile 2014-10-09 23:26:10 UTC (rev 126423)
+++ trunk/dports/print/ttf2pt1/Portfile 2014-10-09 23:35:26 UTC (rev 126424)
@@ -33,19 +33,23 @@
checksums md5 cb143c07cc83167875ca09ea720d4932 \
sha1 936771b11a740c16a8e0adb737b54b22cca18cb2
+depends_lib port:freetype
+
patchfiles patch-ft.c
use_configure no
-depends_lib port:freetype \
- lib:libz:zlib
+variant universal {}
-build.post_args CFLAGS_SYS="-I${prefix}/include \
+build.post_args CC="${configure.cc}" \
+ CFLAGS_SYS="-I${prefix}/include \
-I${prefix}/include/freetype2 \
-DUSE_FREETYPE \
- -DPREFER_FREETYPE" \
+ -DPREFER_FREETYPE \
+ [get_canonical_archflags cc]" \
LIBS_SYS="-L${prefix}/lib \
- -lm -lfreetype"
+ -lm -lfreetype \
+ [get_canonical_archflags ld]"
destroot.post_args INSTDIR=${destroot}${prefix} \
MANDIR=${destroot}${prefix}/share/man/ \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141009/5cf15c82/attachment-0001.html>
More information about the macports-changes
mailing list