summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-09-01 17:48:14 +0000
committerjoerg <joerg@pkgsrc.org>2009-09-01 17:48:14 +0000
commit55b2230f9ecbf74f60d591d2b6184fc6d5564dd8 (patch)
tree728777a2740020c7e52e3fae14f9adc225643e54 /security
parentcbd52343f8526ebc7e69786b5efb0aa18e63c908 (diff)
downloadpkgsrc-55b2230f9ecbf74f60d591d2b6184fc6d5564dd8.tar.gz
Don't abuse WRAPPER_DIR, libgnutls-config belongs into BUILDLINK_DIR.
Diffstat (limited to 'security')
-rw-r--r--security/gnutls/libgnutls-config.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/gnutls/libgnutls-config.mk b/security/gnutls/libgnutls-config.mk
index 3fc414408de..1e32f7ffefb 100644
--- a/security/gnutls/libgnutls-config.mk
+++ b/security/gnutls/libgnutls-config.mk
@@ -1,18 +1,18 @@
-# $NetBSD: libgnutls-config.mk,v 1.1 2009/07/02 18:53:46 tnn Exp $
+# $NetBSD: libgnutls-config.mk,v 1.2 2009/09/01 17:48:14 joerg Exp $
# Makefile intended to be included by packages that need "libgnutls-config"
# during build time.
USE_TOOLS+= pkg-config
-pre-configure: ${WRAPPER_DIR}/bin/libgnutls-config
+pre-configure: hack-libgnutls-config
-${WRAPPER_DIR}/bin/libgnutls-config:
+hack-libgnutls-config:
${PRINTF} "#! ${SH}\\n\
case \$$1 in\\n\
--cflags|--libs) pkg-config \$$1 gnutls;;\\n\
--version) pkg-config --modversion gnutls;;\\n\
*) exit 1;;\\n\
esac\\n\
- " > ${.TARGET}
- ${CHMOD} +x ${.TARGET}
+ " > ${BUILDLINK_DIR}/bin/libgnutls-config
+ ${CHMOD} +x ${BUILDLINK_DIR}/bin/libgnutls-config