pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51766: Enabling cwrappers breaks builds on FreeBSD 11



On Wed, Jan 04, 2017 at 03:05:01PM +0000, Thomas Klausner wrote:
> The following reply was made to PR pkg/51766; it has been noted by GNATS.
> 
> From: Thomas Klausner <wiz%NetBSD.org@localhost>
> To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
> Cc: 
> Subject: Re: pkg/51766: Enabling cwrappers breaks builds on FreeBSD 11
> Date: Wed, 4 Jan 2017 16:04:30 +0100
> 
>  Can you please send your mk.conf?

Attached. Bootstrap was ran using this mk.conf file like:

./bootstrap --mk-fragment=/usr/pkg/etc/mk.conf --pkgdbdir=/var/db/pkg

The mk.conf and mk.conf.example generated by bootstrap have ABI, CC, CXX, CPP,
CLANGBASE, and other variables set as well, which aren't present in the
attached file. However, with USE_CWRAPPERS=no it doesn't make a difference,
because the build works with that variable set.

Even though PKG_DBDIR is set in mk.conf, bootstrap wants to put it in
/usr/pkg/pkgdbdir or somewhere, and I believe this to be very wrong as a
default. /var and especially /var/db is made for this stuff.
.ifdef BSD_PKG_MK	# begin pkgsrc settings


PKG_DBDIR=		/var/db/pkg
LOCALBASE=		/usr/pkg
VARBASE=		/var
PKG_TOOLS_BIN=		/usr/pkg/sbin
PKGINFODIR=		info
PKGMANDIR=		man

PKG_DEVELOPER=		yes
PREFER_NATIVE=		openjdk8
PREFER_PKGSRC=          yes
# local additions

LUA_VERSION_DEFAULT=	52
MAKE_JOBS=		1	
PKGSRC_COMPILER=	clang
RCD_SCRIPTS_DIR=	/etc/rc.d
SKIP_LICENSE_CHECK=	yes
UPDATE_TARGET=		install
X11_TYPE=		modular
USE_CWRAPPERS=		no
MYSQL_VERSION_DEFAULT=	56

RUBY_VERSION_DEFAULT=   22
PYTHON_VERSION_DEFAULT=	27

PKG_OPTIONS.libmemcached+=	-sasl
PKG_OPTIONS.mysql5+=		ndb-cluster
PKG_OPTIONS.nginx+=		pcre ssl status uwsgi
PKG_OPTIONS.php+=		-inet6
PKG_OPTIONS.py-uwsgi+=		jansson pcre openssl uuid yaml
PKG_OPTIONS.vlc+=		-x11
PKG_OPTIONS.openjdk8+=		-x11

.endif			# end pkgsrc settings


Home | Main Index | Thread Index | Old Index