summaryrefslogtreecommitdiff
path: root/databases/postgresql-odbc
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2019-11-27 19:46:18 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2019-11-27 19:46:18 +0000
commit31c6fc2d161e5503728fd7544aea125340f4a240 (patch)
tree8911a4e15e42c5087b98fe27fa5681a8005b7801 /databases/postgresql-odbc
parent- Fix fetch by using GitHub properly (no change in distfile contents) (diff)
databases/postgresql-odbc: Fix build on GCC architectures
PR: 241897 Submitted by: pkubaz Approved by: linimon MFH: 2019Q4 (runtime fix)
Notes
Notes: svn path=/head/; revision=518527
Diffstat (limited to 'databases/postgresql-odbc')
-rw-r--r--databases/postgresql-odbc/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/databases/postgresql-odbc/Makefile b/databases/postgresql-odbc/Makefile
index e5164c93db9a..37f325fe71e7 100644
--- a/databases/postgresql-odbc/Makefile
+++ b/databases/postgresql-odbc/Makefile
@@ -14,17 +14,15 @@ COMMENT= PostgreSQL ODBC driver
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/license.txt
-BROKEN_powerpc64= fails to compile: misc.h:58:21: expected ';' before 'dummy_for_check'
-
LIB_DEPENDS= libodbc.so:databases/unixODBC
USES= compiler:c11 libtool pgsql
+USE_CSTD= gnu11
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-unixodbc=${LOCALBASE}
INSTALL_TARGET= install-strip
-CFLAGS+= -std=c11
DOCSDIR= ${PREFIX}/share/doc/postgresql/odbc
EXAMPLESDIR= ${PREFIX}/share/examples/postgresql/odbc