X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A3894BB.9020109@users.sourceforge.net> Date: Wed, 17 Jun 2009 02:01:15 -0500 From: "Yaakov (Cygwin/X)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: cmake: Cygwin patches Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Bill, I have a several patches for cmake which I ship in Ports but should really be moved into the distro. I have used these to build dozens of packages, including KDE4. The current patchset is in Ports SVN: http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/devel/cmake/ The relevant patches are: * 2.6-cygwin.patch: cmake sets both WIN32 and UNIX for Cygwin. Sounds nice in theory, but 1) that doesn't really make sense, 2) generally cygwin has very little in common with Windows (where there are a few similarities when using autotools, those generally don't apply with cmake), and 3) many packages use WIN32 literally (w32api/gdi/etc.) without casing Cygwin. This patch changes cmake to treat Cygwin like other *NIX platforms, and creates libraries with names following the libtool convention "cygfoo-MAJOR.dll". * 2.6-KDE3Macros.patch: Fixes the KDE3 module .la file to match what libtool itself would create (and what cygport expects). * 2.6-usr-prefix.patch: Prepends the /usr prefix before / prefix, so that we don't assume /usr/lib == /lib. The other patches there are Ports-specific (at least for now). Yaakov -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/