From owner-freebsd-ports@FreeBSD.ORG Thu Jun 11 03:40:10 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4BDCE33A for ; Thu, 11 Jun 2015 03:40:10 +0000 (UTC) (envelope-from euan@potensol.com) Received: from smtp.potensol.com (smtp.potensol.com [103.15.233.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.potensol.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0897A12F1 for ; Thu, 11 Jun 2015 03:40:09 +0000 (UTC) (envelope-from euan@potensol.com) Received: from smtp.potensol.com (smtp.potensol.com [103.15.233.195]) by smtp.potensol.com (Postfix) with ESMTP id 8639D44352 for ; Thu, 11 Jun 2015 03:33:04 +0000 (UTC) Received: from webmail.potensol.com (webmail.potensol.com [192.168.10.5]) by smtp.potensol.com (Postfix) with ESMTP id 4964044351 for ; Thu, 11 Jun 2015 03:33:04 +0000 (UTC) content-type: text/plain; charset="utf-8" to: freebsd-ports@freebsd.org User-Agent: SOGoMail 2.2.14 MIME-Version: 1.0 date: Thu, 11 Jun 2015 11:33:03 +0800 subject: =?utf-8?q?New_port_with_USES=3Dgmake_will_not_stage?= message-id: <72ad-55790180-1f-6b8b4580@135110433> X-Forward: 192.168.10.5 from: "Euan Thoms" content-transfer-encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 03:40:10 -0000 I'm making a port for OpenSIPS. It builds successfully, but the even wi= th just "make" it installs files to the system instead of to stage (i.e= . to /usr/local/... instead of /usr/ports/net/opensips/work/stage/usr/l= ocal/...). I am using gmake and gcc since that's what's required for OpenSIPS. I've done a similar port before and the FreeBSD ports macros do the sta= ging for me. However, even when I tell gmake the DESTDIR=3D${STAGEDIR} = in do-build and do-install, a "make" just installs the files to /usr/lo= cal/... . I can't find any documentation on how to ensure building uses staging. = OpenSIPS doesn't have a configure script AFAIK. It has it's own menucon= fig which normally generates a Makefile.conf. The only thing useful in = there is PREFIX=3D , but that is to specify the final destination paths= (also used in linking I guess). My port passes the compile flags in MA= KE=5FARGS instead of using a Makefile.conf file. -- Regards, Euan Thoms