pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/gnutls Don't abuse WRAPPER_DIR, libgnutls-con...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e9a28df0d7b
branches:  trunk
changeset: 398523:0e9a28df0d7b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Sep 01 17:48:14 2009 +0000

description:
Don't abuse WRAPPER_DIR, libgnutls-config belongs into BUILDLINK_DIR.

diffstat:

 security/gnutls/libgnutls-config.mk |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r 4b70abda48f0 -r 0e9a28df0d7b security/gnutls/libgnutls-config.mk
--- a/security/gnutls/libgnutls-config.mk       Tue Sep 01 16:58:11 2009 +0000
+++ b/security/gnutls/libgnutls-config.mk       Tue Sep 01 17:48:14 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index