cc: error: invalid linker name in argument '-fuse-ld=bfd' Neither emaste nor I can figure out exactly where the offending stanza is coming in. It will take someone with more knowledge of gmake debug flags, and possibly the src build infrastructure, to figure it out. While here, pet portlint. Approved by: portmgr (tier-2 blanket)
31 lines
679 B
Makefile
31 lines
679 B
Makefile
# Created by: Jov <amutu@amutu.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysql_fdw
|
|
PORTVERSION= 2.2.0
|
|
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>
|