svn commit: r549932 - head/ports-mgmt/pkg

Piotr Kubaj pkubaj at FreeBSD.org
Thu Sep 24 17:29:13 UTC 2020


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
 


More information about the svn-ports-all mailing list