Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2015 22:18:44 -0700
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        <freebsd-ports@freebsd.org>
Subject:   Re: New port with USES=gmake will not stage
Message-ID:  <17fa6dada86db682a4435c086f71686c@ultimatedns.net>
In-Reply-To: <72ad-55790180-1f-6b8b4580@135110433>
References:  <72ad-55790180-1f-6b8b4580@135110433>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Jun 2015 11:33:03 +0800 "Euan Thoms" <euan@potensol.com> wrote

> I'm making a port for OpenSIPS. It builds successfully, but the even with
> 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/local/...).
> 
> 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 staging
> for me. However, even when I tell gmake the DESTDIR=${STAGEDIR} in do-build
> and do-install, a "make" just installs the files to /usr/local/... .
> 
> 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 menuconfig
> which normally generates a Makefile.conf. The only thing useful in there is
> PREFIX= , but that is to specify the final destination paths (also used in
> linking I guess). My port passes the compile flags in MAKE_ARGS instead of
> using a Makefile.conf file. 
Kind of a tough call w/o any real information -- your Makefile, the source
location? :)
>
> -- 
> Regards, Euan Thoms
> 
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

--Chris





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17fa6dada86db682a4435c086f71686c>