databases/postgresql-odbc: Fix c11 rompiler support
Reported by: cmt@burggraben.net
This commit is contained in:
parent
6fa124e8c3
commit
014f9a2676
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=450132
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue