I wasn't exactly sure of the best way to accomplish that, so I improvised :) Can you try the attached patch? It seems to work for the most part. The only potential issue is that even though there are no errors, cups-headers doesn't register as installed on 10.4 or up (I'm not sure if that really matters). Anyway, if you can think of a better way to do this (or how to get it to register as installed), I'm all ears. Thanks, - jim On Sep 19, 2006, at 5:38 PM, Randall Wood wrote:
It might be a good idea to upgrade cups-headers to do nothing if OS ! = 10.3 instead. That way, ports that need it will get it, even if it does nothing.
On 19 Sep 2006, at 20:18, Jim Mock wrote:
Oops! I originally sent with the wrong email address so it never made it to the list.
- jim
Begin forwarded message:
From: macports-users-owner@lists.macosforge.org Date: September 19, 2006 5:16:53 PM PDT To: mij@soupnazi.org Subject: Re: recurring issues with gdk-pixbuf version? X-Spamprobe: GOOD 0.0000214 d465375e583baab4f83036578d2f2919
You are not allowed to post to this mailing list, and your message has been automatically rejected. If you think that your messages are being rejected in error, contact the mailing list owner at macports-users-owner@lists.macosforge.org.
From: Jim Mock <mij@soupnazi.org> Date: September 19, 2006 5:15:32 PM PDT To: Paul Beard <paulbeard@gmail.com> Cc: macports-users@lists.macosforge.org Subject: Re: recurring issues with gdk-pixbuf version?
On Sep 19, 2006, at 4:50 PM, Jim Mock wrote:
On Sep 19, 2006, at 4:06 PM, Paul Beard wrote:
On Sep 19, 2006, at 2:14 PM, Randall Wood wrote:
The command
sudo port uninstall cups-headers; sudo port upgrade outdated
will solve your problems as the cups-headers port installs correct headers only for Mac OS X 10.3
any chance we could have a test for OS version for gtk2?
I think adding a check to the cups-headers Portfile would be better. I'll take a look at it shortly and send you a patch to test.
After thinking about this and noticing the problems adding an OS version check to the cups-headers Portfile, I've done what you suggested and added a check to the gtk2 Portfile. Please try the attached patch and let me know it goes.
On another note, if cups-headers is truly only for 10.3 or lower, we should probably update the ports that depend on it to only depend on it if ${os.version} < 8. There aren't a whole bunch that depend on it, so maybe I'll see if I can come up with a patch for the ports that do later tonight.
- jim