defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. 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, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
32 lines
695 B
Makefile
32 lines
695 B
Makefile
# Created by: Jov <amutu@amutu.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysql_fdw
|
|
PORTVERSION= 2.2.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PostgreSQL foreign data wrapper for MySQL
|
|
|
|
LICENSE= PostgreSQL
|
|
|
|
USES= gmake pgsql:9.3+ mysql
|
|
LLD_UNSAFE= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= EnterpriseDB
|
|
GH_TAGNAME= c14ee1d
|
|
|
|
MAKE_ENV= USE_PGXS=1
|
|
|
|
WANT_PGSQL= server
|
|
|
|
PLIST_FILES= lib/postgresql/mysql_fdw.so \
|
|
share/postgresql/extension/mysql_fdw--1.0.sql \
|
|
share/postgresql/extension/mysql_fdw.control
|
|
|
|
do-patch:
|
|
${SED} -i '.orig' 's/#if defined(__APPLE__)/& || defined(__FreeBSD__)/' ${WRKSRC}/mysql_fdw.c
|
|
|
|
.include <bsd.port.mk>
|