summaryrefslogtreecommitdiff
path: root/math/mpcomplex/builtin.mk
blob: ba1628b1f5e7f0c73b2479ffe55a2b403c52d762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $NetBSD: builtin.mk,v 1.2 2019/11/02 16:16:20 rillig Exp $

BUILTIN_PKG:=	mpcomplex

PKGCONFIG_FILE.mpcomplex=	/usr/include/mpc.h
PKGCONFIG_BASE.mpcomplex=	/usr

BUILTIN_VERSION_SCRIPT.mpcomplex=	${AWK} \
	'/\#define[ \t]*MPC_VERSION_STRING[ \t]/ { \
	v = substr($$3, 2, length($$3)-2); } \
	END { print v; }'

.include "../../mk/buildlink3/pkgconfig-builtin.mk"