summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-11-26 14:18:26 +0000
committerjoerg <joerg@pkgsrc.org>2009-11-26 14:18:26 +0000
commit531ed3109324046b3e5f64eb3c36056dc25a8d38 (patch)
tree21935bdd0e62fdf754445caebb48c1863f736c5e
parent26ec8018b54474cbc58dd919a96952ffc04e6776 (diff)
downloadpkgsrc-531ed3109324046b3e5f64eb3c36056dc25a8d38.tar.gz
Craete libgnutls-extra-config in .buildlink/bin, not the WRAPPER_DIR.
-rw-r--r--security/gnutls/libgnutls-extra-config.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/gnutls/libgnutls-extra-config.mk b/security/gnutls/libgnutls-extra-config.mk
index b9b30645b8a..6b34e384a07 100644
--- a/security/gnutls/libgnutls-extra-config.mk
+++ b/security/gnutls/libgnutls-extra-config.mk
@@ -1,18 +1,18 @@
-# $NetBSD: libgnutls-extra-config.mk,v 1.1 2009/07/03 11:00:05 drochner Exp $
+# $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: ${WRAPPER_DIR}/bin/libgnutls-extra-config
+pre-configure: hack-libgnutls-extra-config
-${WRAPPER_DIR}/bin/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\
- " > ${.TARGET}
- ${CHMOD} +x ${.TARGET}
+ " > ${BUILDLINK_DIR}/bin/libgnutls-extra-config
+ ${CHMOD} +x ${BUILDLINK_DIR}/bin/libgnutls-extra-config