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

35 lines
779 B
Makefile

# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= plpgsql_check
PORTVERSION= 1.2.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= ports@FreeBSD.org
COMMENT= PostgreSQL extension to check PL/pgSQL code
LICENSE= UNKNOWN
LICENSE_NAME= postcardware
LICENSE_TEXT= If you like it - send a postcard to address: \
Pavel Stehule \
Skalice 12 \
Benesov u Prahy \
256 01 \
Czech Republic \
Use this code freely on own risk
LICENSE_PERMS= dist-mirror pkg-mirror dist-sell pkg-sell auto-accept
USES= gmake pgsql:9.2+
LLD_UNSAFE= yes
USE_GITHUB= yes
GH_ACCOUNT= okbob
WANT_PGSQL= server
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/plpgsql_check.so
.include <bsd.port.mk>