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

36 lines
851 B
Makefile

# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= zhparser
PORTVERSION= 0.2.0
DISTVERSIONPREFIX= v
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= ports@FreeBSD.org
COMMENT= PostgreSQL extension for full-text search of Chinese
LICENSE= PostgreSQL
LIB_DEPENDS= libscws.so:textproc/scws
USES= gmake pgsql:9.2+
LLD_UNSAFE= yes
USE_GITHUB= yes
GH_ACCOUNT= amutu
WANT_PGSQL= server
MAKE_ENV= SCWS_HOME=${PREFIX}
PLIST_FILES= lib/postgresql/zhparser.so \
share/postgresql/extension/zhparser--1.0.sql \
share/postgresql/extension/zhparser--unpackaged--1.0.sql \
share/postgresql/extension/zhparser.control \
share/postgresql/tsearch_data/dict.utf8.xdb \
share/postgresql/tsearch_data/rules.utf8.ini
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/zhparser.so
.include <bsd.port.mk>