X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:message-id:date:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=x4n
	5FUWfpT/ff8ChkR5xsqd8+D+ErOIDBUwyTtQP/+Rhb6wITD3jeukUoNVv1jsb38V
	wNjAWKwWW6z1MR4GBimRf2CgrT+O0D85YXfMoC+Z7sq8PNzqTYwNxl+KwK4sUsWu
	JJvhqv6cKbvazrlZ5kGyxZCHYWzWH/aJF3mqOAxE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:message-id:date:mime-version
	:content-type:content-transfer-encoding; s=default; bh=Ft1TxKasx
	1AynU6dvJKEg+oUEHs=; b=A9McyTnCdYdEJ9JQigmI7c9HWxr1fduWk8OKczlgk
	jj0xNxobB3SUimHY1AH11bVejTy1yxyRKcwKWbvRI7Iq/6HFyhoDVoo/xhK16mOx
	YiHSkTSpwpP9Pwxo/ORFtVW6USR5gp5r3erxpxdEggc3oc2xJkYf67Lu6z5bKXsq
	Hg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*UA:6.1, H*u:6.1, HContent-Transfer-Encoding:8bit
X-HELO: mail-wr1-f54.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=to:from:subject:message-id:date:user-agent:mime-version         :content-transfer-encoding;        bh=dnZxW9TqdM0q7GsfD57PfBVR9TJEqRfiicfJmsYeXpA=;        b=Zwts4LS9yQABNIqRBJ/qwJ9ALAf58HxS6lvf1+s0cO3IFI633Q+JzzgWkSWshcWnfT         Ro+VL2TG2Qg61lGmZ0I5FaB9L2sW34Sch4ZAyo/6AWbcVn6iGq7sn8iyAmCQqc5dhr1X         FHZ8IAazQw9BWgdfnxnPIIm/uEJy7CwhSqyeviylKjl/Cn/XKvODCVu4wR4+2+FIjgiX         5psOoyKWVXW33+EzIRZV11DjsSJ0OOGJ2CEzcalwWpsOrZFmbSjJy+fbdZgwJrbBuum/         Kg2/MD09qFbfux0eVwntHX4YcyPP1QdQIKAk07765DEK/xSe3KNJI33stF2JdCIXBHz1         5trQ==
To: cygwin@cygwin.com
From: James Darnley <james.darnley@gmail.com>
Subject: Best documentation for how to use cygport
Message-ID: <1658c522-0e23-ab7e-a701-fe100e654d38@gmail.com>
Date: Thu, 7 Mar 2019 01:57:51 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

What's the best documentation to read to understand how to use cygport
to build packages?

I am trying to use it to build Lua 5.3 and some modules.  I think I
bashed the Lua 5.2 cygport file into the right shape to build 5.3
correctly.  But I don't know how to use the result of that to build
other modules that depend on it.

I need to give gcc and ld the right flags.  Do I use package config for
that?  Do I statically define the right flags?  Can I import variables
from the 5.3 cygport file into other cygport files?  It doesn't like
"inherit lua53" at the top so I don't know what to do now.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

