Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 17:29:13 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549932 - head/ports-mgmt/pkg
Message-ID:  <202009241729.08OHTDqs069242@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu Sep 24 17:29:13 2020
New Revision: 549932
URL: https://svnweb.freebsd.org/changeset/ports/549932

Log:
  ports-mgmt/pkg: fix build on powerpc64le
  
  Little-endian powerpc64 is not detected properly by sqlite3.

Modified:
  head/ports-mgmt/pkg/Makefile

Modified: head/ports-mgmt/pkg/Makefile
==============================================================================
--- head/ports-mgmt/pkg/Makefile	Thu Sep 24 17:13:47 2020	(r549931)
+++ head/ports-mgmt/pkg/Makefile	Thu Sep 24 17:29:13 2020	(r549932)
@@ -28,6 +28,7 @@ CONFIGURE_ENV=	CC_FOR_BUILD="${CC}"
 # so that pkg-static is used from the wrkdir
 USE_SUBMAKE=	yes
 CFLAGS+=	-Wno-error
+CFLAGS_powerpc64le=	-DSQLITE_BYTEORDER=1234
 
 OPTIONS_DEFINE=	DOCS
 



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