Use xenocara expat.

This commit is contained in:
kili 2007-04-29 13:13:55 +00:00
parent 9cc6e06eb8
commit 7664105312

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2007/04/09 20:50:57 kili Exp $
# $OpenBSD: Makefile,v 1.15 2007/04/29 13:13:55 kili Exp $
# Much help came from Alexandre Anriot, Robert Nagy, Bernd Ahlers,
# and, last but not least, Pedro la Peu.
@ -11,7 +11,7 @@ NOT_FOR_ARCHS=m68k m88k vax
V= 2007-01-R1b
DISTNAME= kismet-${V}
PKGNAME-main= kismet-${V:S,-,,g}
PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g}
PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g}p0
CATEGORIES= net security
HOMEPAGE= http://www.kismetwireless.net/
@ -34,7 +34,7 @@ SUBST_VARS+= CONFDIR
CONFIGURE_ARGS= --sysconfdir=${CONFDIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
USE_GMAKE= Yes
@ -54,13 +54,12 @@ WANTLIB-main= c m ncurses panel pcap stdc++
.if !${FLAVOR:L:Mno_gpsmap}
USE_X11= Yes
MULTI_PACKAGES+= -gpsmap
WANTLIB-gpsmap= c ICE SM X11 Xext Xt bz2 fontconfig freetype \
WANTLIB-gpsmap= c ICE SM X11 Xext Xt bz2 expat fontconfig freetype \
jasper jbig jpeg lcms m png pthread stdc++ \
tiff xml2 z
WANTLIB-main+= z
LIB_DEPENDS-gpsmap= Magick.>=11,Wand.>=11::graphics/ImageMagick \
gmp.>=6::devel/gmp \
expat.>=4::textproc/expat
gmp.>=6::devel/gmp
.else
CONFIGURE_ARGS+= --disable-gpsmap
.endif