Fix gnutls support which got broken during p2k9.
ok sthen@ (maintainer)
This commit is contained in:
parent
9147052659
commit
4aa047eae5
@ -1,8 +1,8 @@
|
|||||||
# $OpenBSD: Makefile,v 1.4 2009/09/01 07:19:45 ajacoutot Exp $
|
# $OpenBSD: Makefile,v 1.5 2009/12/09 21:51:58 ajacoutot Exp $
|
||||||
|
|
||||||
COMMENT= XML parser designed for Jabber applications
|
COMMENT= XML parser designed for Jabber applications
|
||||||
DISTNAME= iksemel-1.3
|
DISTNAME= iksemel-1.3
|
||||||
PKGNAME= ${DISTNAME}p1
|
PKGNAME= ${DISTNAME}p2
|
||||||
|
|
||||||
SHARED_LIBS= iksemel 0.1 # .4.0
|
SHARED_LIBS= iksemel 0.1 # .4.0
|
||||||
|
|
||||||
@ -28,7 +28,10 @@ LIB_DEPENDS= gnutls.>=12::security/gnutls
|
|||||||
USE_LIBTOOL= Yes
|
USE_LIBTOOL= Yes
|
||||||
CONFIGURE_STYLE= gnu
|
CONFIGURE_STYLE= gnu
|
||||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
||||||
--with-libgnutls-prefix=${LOCALBASE} \
|
|
||||||
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
|
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
|
||||||
|
|
||||||
|
# XXX check on update whether this is still necessary
|
||||||
|
post-extract:
|
||||||
|
${INSTALL} -m 555 ${FILESDIR}/libgnutls-config ${WRKDIR}/bin
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
41
textproc/iksemel/files/libgnutls-config
Normal file
41
textproc/iksemel/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