aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-odbc/Makefile
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2017-09-19 15:18:53 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2017-09-19 15:18:53 +0000
commit014f9a2676a84f8ae8c1126c1048c85c7f31ef07 (patch)
tree45e711cd158a32c04b17685e3cbf7cf19e4a8f07 /databases/postgresql-odbc/Makefile
parent6fa124e8c374db72b8cf2f4d7f6aa2e72222f22e (diff)
downloadports-014f9a2676a84f8ae8c1126c1048c85c7f31ef07.tar.gz
ports-014f9a2676a84f8ae8c1126c1048c85c7f31ef07.zip
Notes
Diffstat (limited to 'databases/postgresql-odbc/Makefile')
-rw-r--r--databases/postgresql-odbc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/postgresql-odbc/Makefile b/databases/postgresql-odbc/Makefile
index f16fe3137307..c55b2650dfc0 100644
--- a/databases/postgresql-odbc/Makefile
+++ b/databases/postgresql-odbc/Makefile
@@ -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