pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49090: Unbreak devel/pango on OS X Tiger




On 08/08/2014 06:20, David Holland wrote:
>  I think this conditional wants to be
>  
>     .if empty(MACHINE_PLATFORM:MDarwin-[1-8].*-*)
>  
>  instead. That way the glob will match the versions where it's not
>  there.

That works, updated diff attached.
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/devel/pango/options.mk,v
retrieving revision 1.14
diff -u -r1.14 options.mk
--- options.mk  26 Jul 2014 08:30:58 -0000      1.14
+++ options.mk  8 Aug 2014 14:46:34 -0000
@@ -40,8 +40,10 @@
 ### Quartz "support"
 ###
 .if ${OPSYS} == "Darwin"
-### always looks for system CoreText
+.if empty(MACHINE_PLATFORM:MDarwin-[1-8].*-*)
+### CoreText is only available in 10.5 or newer
 PLIST.coretext=                yes
+.endif
 .  if !empty(PKG_OPTIONS:Mquartz)
 ### installs its coretext header file if cairo was built with "quartz" option
 PLIST.quartz=          yes

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index