Provide a minimal libgnutls-config script to unbreak with newer gnutls.
breakage reported by jasper@
This commit is contained in:
parent
2f26531841
commit
33942a59bf
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2009/08/30 20:37:16 rui Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2009/10/11 13:11:45 ajacoutot Exp $
|
||||
|
||||
COMMENT= Prelude manager
|
||||
|
||||
@ -14,6 +14,9 @@ CONFIGURE_STYLE=gnu
|
||||
LIB_DEPENDS= xml2.>=9::textproc/libxml \
|
||||
preludedb.>=4.9::security/prelude/libpreludedb
|
||||
|
||||
post-extract:
|
||||
${INSTALL} -m 555 ${FILESDIR}/libgnutls-config ${WRKDIR}/bin
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prelude-manager/
|
||||
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
|
||||
|
41
security/prelude/manager/files/libgnutls-config
Normal file
41
security/prelude/manager/files/libgnutls-config
Normal file
@ -0,0 +1,41 @@
|
||||
#!/bin/sh
|
||||
|
||||
usage()
|
||||
{
|
||||
cat <<EOF
|
||||
Usage: libgnutls-config [OPTIONS]
|
||||
Options:
|
||||
[--version]
|
||||
[--libs]
|
||||
[--cflags]
|
||||
EOF
|
||||
exit $1
|
||||
}
|
||||
|
||||
if test $# -eq 0; then
|
||||
usage 1 1>&2
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
|
||||
case $1 in
|
||||
--version)
|
||||
echo "`pkg-config --modversion gnutls`"
|
||||
exit 0
|
||||
;;
|
||||
--cflags)
|
||||
echo "`pkg-config --cflags gnutls`"
|
||||
;;
|
||||
--libs)
|
||||
echo "`pkg-config --libs gnutls`"
|
||||
;;
|
||||
*)
|
||||
usage 1 1>&2
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
Loading…
Reference in New Issue
Block a user