Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2017 15:18:53 +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: r450132 - head/databases/postgresql-odbc
Message-ID:  <201709191518.v8JFIrcV006164@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Tue Sep 19 15:18:53 2017
New Revision: 450132
URL: https://svnweb.freebsd.org/changeset/ports/450132

Log:
  databases/postgresql-odbc: Fix c11 rompiler support
  
  Reported by:	cmt@burggraben.net

Modified:
  head/databases/postgresql-odbc/Makefile

Modified: head/databases/postgresql-odbc/Makefile
==============================================================================
--- head/databases/postgresql-odbc/Makefile	Tue Sep 19 15:18:10 2017	(r450131)
+++ head/databases/postgresql-odbc/Makefile	Tue Sep 19 15:18:53 2017	(r450132)
@@ -2,6 +2,7 @@
 
 PORTNAME=	postgresql
 PORTVERSION=	09.06.0500
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	PGSQL/odbc/versions/src
 PKGNAMESUFFIX=	-odbc
@@ -16,12 +17,13 @@ LICENSE_FILE=	${WRKSRC}/license.txt
 
 LIB_DEPENDS=	libodbc.so:databases/unixODBC
 
-USES=		libtool pgsql
+USES=		compiler:c11 libtool pgsql
 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?201709191518.v8JFIrcV006164>