Craete libgnutls-extra-config in .buildlink/bin, not the WRAPPER_DIR.diff -r1.1 -r1.2 pkgsrc/security/gnutls/libgnutls-extra-config.mk
(joerg)
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: libgnutls-extra-config.mk,v 1.1 2009/07/03 11:00:05 drochner Exp $ | 1 | # $NetBSD: libgnutls-extra-config.mk,v 1.2 2009/11/26 14:18:26 joerg Exp $ | |
2 | 2 | |||
3 | # Makefile intended to be included by packages that need | 3 | # Makefile intended to be included by packages that need | |
4 | # "libgnutls-extra-config" during build time. | 4 | # "libgnutls-extra-config" during build time. | |
5 | 5 | |||
6 | USE_TOOLS+= pkg-config | 6 | USE_TOOLS+= pkg-config | |
7 | 7 | |||
8 | pre-configure: ${WRAPPER_DIR}/bin/libgnutls-extra-config | 8 | pre-configure: hack-libgnutls-extra-config | |
9 | 9 | |||
10 | ${WRAPPER_DIR}/bin/libgnutls-extra-config: | 10 | hack-libgnutls-extra-config: | |
11 | ${PRINTF} "#! ${SH}\\n\ | 11 | ${PRINTF} "#! ${SH}\\n\ | |
12 | case \$$1 in\\n\ | 12 | case \$$1 in\\n\ | |
13 | --cflags|--libs) pkg-config \$$1 gnutls-extra;;\\n\ | 13 | --cflags|--libs) pkg-config \$$1 gnutls-extra;;\\n\ | |
14 | --version) pkg-config --modversion gnutls-extra;;\\n\ | 14 | --version) pkg-config --modversion gnutls-extra;;\\n\ | |
15 | *) exit 1;;\\n\ | 15 | *) exit 1;;\\n\ | |
16 | esac\\n\ | 16 | esac\\n\ | |
17 | " > ${.TARGET} | 17 | " > ${BUILDLINK_DIR}/bin/libgnutls-extra-config | |
18 | ${CHMOD} +x ${.TARGET} | 18 | ${CHMOD} +x ${BUILDLINK_DIR}/bin/libgnutls-extra-config |