mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= postgresql
|
|
PORTVERSION= 11.01.0000
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= PGSQL/odbc/versions/src
|
|
PKGNAMESUFFIX= -odbc
|
|
DISTNAME= psqlodbc-${PORTVERSION}
|
|
DIST_SUBDIR= postgresql
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
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_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
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
PLIST_FILES= lib/psqlodbcw.so lib/psqlodbca.so
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.sql ${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
.include <bsd.port.mk>
|