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

31 lines
713 B
Makefile

# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= pg_repack
PORTVERSION= 1.4.2
DISTVERSIONPREFIX= ver_
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= ports@FreeBSD.org
COMMENT= Reorganize tables in PostgreSQL databases with minimal locks
LICENSE= BSD3CLAUSE
USES= gmake pgsql:9.2+
LLD_UNSAFE= yes
USE_GITHUB= yes
GH_ACCOUNT= reorg
WANT_PGSQL= server
PLIST_FILES= bin/pg_repack \
lib/postgresql/pg_repack.so \
share/postgresql/extension/pg_repack--1.4.2.sql \
share/postgresql/extension/pg_repack.control
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pg_repack \
${STAGEDIR}${PREFIX}/lib/postgresql/pg_repack.so
.include <bsd.port.mk>