pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/gnutls also add a makefile snippet to fake up...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f227ad3526dc
branches: trunk
changeset: 560896:f227ad3526dc
user: drochner <drochner%pkgsrc.org@localhost>
date: Fri Jul 03 11:00:05 2009 +0000
description:
also add a makefile snippet to fake up a "libgnutls-extra-config"
script which disappeared in gnutls-2.8, similar to "libgnutls-config.mk"
diffstat:
security/gnutls/libgnutls-extra-config.mk | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diffs (22 lines):
diff -r faf3cf428f33 -r f227ad3526dc security/gnutls/libgnutls-extra-config.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/libgnutls-extra-config.mk Fri Jul 03 11:00:05 2009 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: libgnutls-extra-config.mk,v 1.1 2009/07/03 11:00:05 drochner 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
+
+${WRAPPER_DIR}/bin/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}
Home |
Main Index |
Thread Index |
Old Index