Piotr Kubaj 75f71c49d1 databases/plpgsql_check: fix build on GCC architectures
Use C11 compiler:
src/expr_walk.c:37: error: redefinition of typedef 'check_function_callback'
/usr/local/include/postgresql/server/nodes/nodeFuncs.h:30: error: previous declaration of 'check_function_callback' was here
2020-08-30 20:02:43 +00:00

34 lines
687 B
Makefile

# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= plpgsql_check
PORTVERSION= 1.13.1
DISTVERSIONPREFIX= v
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER_NODOT}-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PostgreSQL extension to check PL/pgSQL code
LICENSE= UNKNOWN
LICENSE_NAME= postcardware
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror pkg-mirror dist-sell pkg-sell auto-accept
USES= compiler:c11 gmake pgsql
LLD_UNSAFE= yes
WANT_PGSQL= server
PLIST_SUB= PORTVERSION=${PORTVERSION:R}
USE_GITHUB= yes
GH_ACCOUNT= okbob
MAKE_ARGS= CC="${CC}"
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/plpgsql_check.so
.include <bsd.port.mk>