1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/databases/ip4r/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

34 lines
768 B
Makefile

# Created by: Ade Lovett <ade@FreeBSD.org>
# $FreeBSD$
PORTNAME= ip4r
PORTVERSION= 2.2
CATEGORIES= databases net
MAINTAINER= tobez@FreeBSD.org
COMMENT= IP address and IP range index types for PostgreSQL
LICENSE= PostgreSQL
OPTIONS_DEFINE= IDXPATCH
IDXPATCH_DESC= Prefer ip4r indexes over seq_scan on large datasets
USES= gmake pgsql
LLD_UNSAFE= yes
MAKE_ARGS= USE_PGXS=1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIDXPATCH}
# Patch if the option is supplied, however we need to unpatch if the option is de-selected after previously selecting (TODO)
PATCH_SITES= https://raw.githubusercontent.com/amutu/patch/master/:SORBS
PATCHFILES= ip4r-2.2-SORBS-prefer-index.patch:-p1:SORBS
.endif
USE_GITHUB= yes
GH_ACCOUNT= RhodiumToad
.include <bsd.port.mk>