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

37 lines
1.1 KiB
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= skytools
PORTVERSION= 3.2
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/3622/
MAINTAINER= sam@cassiba.com
COMMENT= PostgreSQL tools from Skype: walshipping, queueing, replication
GNU_CONFIGURE= yes
USES= gmake python:2.7 shebangfix pgsql
LLD_UNSAFE= yes
SHEBANG_FILES= setup_pkgloader.py setup_skytools.py \
scripts/catsql.py scripts/data_maintainer.py \
scripts/find_sql_functions.py scripts/grantfu.py \
scripts/queue_loader.py scripts/queue_splitter.py \
scripts/queue_mover.py scripts/scriptmgr.py \
scripts/simple_consumer.py scripts/simple_local_consumer.py \
scripts/skytools_upgrade.py
CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \
--docdir=${EXAMPLESDIR} \
--with-pgconfig=${LOCALBASE}/bin/pg_config
post-patch:
@${REINPLACE_CMD} -e 's=share/doc=share/examples=' ${WRKSRC}/setup_skytools.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgqd
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/skytools/*.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so
.include <bsd.port.mk>