Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 19:46:18 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518527 - head/databases/postgresql-odbc
Message-ID:  <201911271946.xARJkIMT083791@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Wed Nov 27 19:46:18 2019
New Revision: 518527
URL: https://svnweb.freebsd.org/changeset/ports/518527

Log:
  databases/postgresql-odbc: Fix build on GCC architectures
  
  PR:		241897
  Submitted by:	pkubaz
  Approved by:	linimon
  MFH:		2019Q4 (runtime fix)

Modified:
  head/databases/postgresql-odbc/Makefile

Modified: head/databases/postgresql-odbc/Makefile
==============================================================================
--- head/databases/postgresql-odbc/Makefile	Wed Nov 27 19:37:10 2019	(r518526)
+++ head/databases/postgresql-odbc/Makefile	Wed Nov 27 19:46:18 2019	(r518527)
@@ -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



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