svn commit: r450132 - head/databases/postgresql-odbc
Muhammad Moinur Rahman
bofh at FreeBSD.org
Tue Sep 19 15:18:55 UTC 2017
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 at 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
More information about the svn-ports-all
mailing list