mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
databases/libpg_query: fix build on powerpc64*
arch-ppc.h is not distributed with the port, but it is installed along with postgresql. Approved by: tier 2 blanket
This commit is contained in:
parent
20b36b1f45
commit
22622d8a56
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557180
@ -12,7 +12,7 @@ COMMENT= C library for accessing the PostgreSQL parser outside of the server
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= gmake pgsql
|
||||
USES= compiler:c11 gmake pgsql
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- src/postgres/include/port/atomics.h.orig 2020-12-06 21:56:04 UTC
|
||||
+++ src/postgres/include/port/atomics.h
|
||||
@@ -71,7 +71,7 @@
|
||||
#elif defined(__ia64__) || defined(__ia64)
|
||||
#include "port/atomics/arch-ia64.h"
|
||||
#elif defined(__ppc__) || defined(__powerpc__) || defined(__ppc64__) || defined(__powerpc64__)
|
||||
-#include "port/atomics/arch-ppc.h"
|
||||
+#include <postgresql/server/port/atomics/arch-ppc.h>
|
||||
#elif defined(__hppa) || defined(__hppa__)
|
||||
#include "port/atomics/arch-hppa.h"
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user