freebsd-ports/databases/pldebugger/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

30 lines
653 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= pldebugger
PORTVERSION= 1.0
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= https://git.postgresql.org/gitweb/?p=pldebugger.git;a=snapshot;h=v${PORTVERSION};sf=tgz;dummy=/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= PostgreSQL pl/pgsql Debugger API
LICENSE= ART20
USES= gmake pgsql
LLD_UNSAFE= yes
WANT_PGSQL= server
DOCSDIR= ${PREFIX}/share/doc/postgresql/extension
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}-264450d
MAKE_ENV= USE_PGXS=1
OPTIONS_DEFINE= DOCS
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/plugin_debugger.so
.include <bsd.port.mk>