diff options
author | drochner <drochner> | 2009-07-03 11:00:05 +0000 |
---|---|---|
committer | drochner <drochner> | 2009-07-03 11:00:05 +0000 |
commit | 81f6b44dba4f07c2986cb255346a27482a78f637 (patch) | |
tree | f7cbf0d90427238e3986d3e46da743f2f2ddd215 /security/gnutls | |
parent | 4f6e7a6f0f75c9330bc63ad9316b4ca6eb445560 (diff) | |
download | pkgsrc-81f6b44dba4f07c2986cb255346a27482a78f637.tar.gz |
also add a makefile snippet to fake up a "libgnutls-extra-config"
script which disappeared in gnutls-2.8, similar to "libgnutls-config.mk"
Diffstat (limited to 'security/gnutls')
-rw-r--r-- | security/gnutls/libgnutls-extra-config.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/security/gnutls/libgnutls-extra-config.mk b/security/gnutls/libgnutls-extra-config.mk new file mode 100644 index 00000000000..b9b30645b8a --- /dev/null +++ b/security/gnutls/libgnutls-extra-config.mk @@ -0,0 +1,18 @@ +# $NetBSD: libgnutls-extra-config.mk,v 1.1 2009/07/03 11:00:05 drochner Exp $ + +# Makefile intended to be included by packages that need +# "libgnutls-extra-config" during build time. + +USE_TOOLS+= pkg-config + +pre-configure: ${WRAPPER_DIR}/bin/libgnutls-extra-config + +${WRAPPER_DIR}/bin/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\ + " > ${.TARGET} + ${CHMOD} +x ${.TARGET} |