From owner-freebsd-ports@FreeBSD.ORG Tue Nov 27 20:24:21 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A31249E for ; Tue, 27 Nov 2012 20:24:21 +0000 (UTC) (envelope-from prvs=671b5ceed=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id 696A58FC0C for ; Tue, 27 Nov 2012 20:24:21 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtcFAKogtVCBbgogTmdsb2JhbABFhWO6UQMBASNLgl0CgWMaiCCeYYZVijqQQpAaYQOIXqB2 X-IronPort-AV: E=Sophos;i="4.84,174,1355119200"; d="scan'208";a="109294479" Received: from zxtm01.utdallas.edu (HELO utd71538.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Nov 2012 14:24:14 -0600 Date: Tue, 27 Nov 2012 14:24:12 -0600 From: Paul Schmehl To: FreeBSD Ports List Subject: How to descend into the extract to build in a subdir Message-ID: <4B522159C9F77F81D968E64D@utd71538.campus.ad.utdallas.edu> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=861 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 20:24:21 -0000 I'm working on a port that requires a separate ./configure and ./make to build libraries before you build the main source. How is this done in ports? I figure you have to do something in pre-build:, but I'm not sure exactly what. (cd ${WRKSRC}/subdir && ${MAKE}) causes make to fail entirely. I'm having trouble finding a comparable example in ports and there doesn't seem to be anything about it in the porters handbook (that I have found.) -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell