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

28 lines
718 B
Makefile

# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
# $FreeBSD$
PORTNAME= pgroonga
PORTVERSION= 2.0.5
CATEGORIES= databases textproc
MASTER_SITES= http://packages.groonga.org/source/pgroonga/
MAINTAINER= bofh@FreeBSD.org
COMMENT= Open-source fulltext search engine for PostGRESQL
LICENSE= PostgreSQL
LIB_DEPENDS= libgroonga.so:textproc/groonga
USES= gmake pgsql pkgconfig
LLD_UNSAFE= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= MECAB
MECAB_DESCRIBE= Use MeCab as a tokenizer
MECAB_BUILD_DEPENDS= mecab-ipadics>=0.996:japanese/mecab-ipadic
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pgroonga.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pgroonga_check.so
.include <bsd.port.mk>