freebsd-ports/databases/postgresql-plproxy/Makefile
Mark Linimon 078a5d7419 Workaround the following problem on aarch64 by setting LLD_UNSAFE=yes:
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)
2018-06-24 00:54:27 +00:00

26 lines
566 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= plproxy
DISTVERSIONPREFIX= ${PORTNAME}_
DISTVERSION= 2_8
CATEGORIES= databases
PKGNAMEPREFIX= postgresql-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PL/Proxy - Function-based sharding for PostgreSQL
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= bison gmake pgsql
LLD_UNSAFE= yes
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e '/^#ifdef/ s| SYS_| HAVE_SYS_|' ${WRKSRC}/src/execute.c
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/plproxy.so
.include <bsd.port.mk>