delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/17/03:01:29

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)" <yselkowitz AT users DOT sourceforge DOT net>
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
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019