summaryrefslogtreecommitdiff
path: root/security/gnutls
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
commitb3742b79b0123af4426a5d4c980e94ab1ea6c343 (patch)
tree21935bdd0e62fdf754445caebb48c1863f736c5e /security/gnutls
parentda9eed026dc0e8b68435214bb8c870808bd72584 (diff)
downloadpkgsrc-b3742b79b0123af4426a5d4c980e94ab1ea6c343.tar.gz
Craete libgnutls-extra-config in .buildlink/bin, not the WRAPPER_DIR.
Diffstat (limited to 'security/gnutls')
-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