blob: 6b34e384a07063234f48f8eb6bbf067f798cd326 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $NetBSD: libgnutls-extra-config.mk,v 1.2 2009/11/26 14:18:26 joerg Exp $
# Makefile intended to be included by packages that need
# "libgnutls-extra-config" during build time.
USE_TOOLS+= pkg-config
pre-configure: hack-libgnutls-extra-config
hack-libgnutls-extra-config:
${PRINTF} "#! ${SH}\\n\
case \$$1 in\\n\
--cflags|--libs) pkg-config \$$1 gnutls-extra;;\\n\
--version) pkg-config --modversion gnutls-extra;;\\n\
*) exit 1;;\\n\
esac\\n\
" > ${BUILDLINK_DIR}/bin/libgnutls-extra-config
${CHMOD} +x ${BUILDLINK_DIR}/bin/libgnutls-extra-config
|