Skip to content

Commit

Permalink
net/yaz: Use pkgconfig to detect libxml2, libxslt and icu
Browse files Browse the repository at this point in the history
PR:	262409
  • Loading branch information
Daniel Engberg authored and neelchauhan committed Mar 8, 2022
1 parent c8ebffa commit ba3d7c3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions net/yaz/Makefile
Expand Up @@ -3,7 +3,7 @@
PORTNAME= yaz
DISTVERSION= 5.31.1
CATEGORIES= net
MASTER_SITES= http://ftp.indexdata.dk/pub/yaz/
MASTER_SITES= https://ftp.indexdata.dk/pub/yaz/

MAINTAINER= nc@FreeBSD.org
COMMENT= Z39.50/SR client and API library
Expand All @@ -14,18 +14,16 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libicuuc.so:devel/icu \
libgnutls.so:security/gnutls

USES= gnome iconv libtool ncurses pathfix pkgconfig readline \
shebangfix tcl
USES= gnome iconv libtool ncurses pathfix localbase:ldflags \
pkgconfig readline shebangfix tcl
SHEBANG_FILES= src/yaz-asncomp
GNU_CONFIGURE= yes
USE_GNOME= libxml2 libxslt
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes

CONFIGURE_ARGS= --enable-shared --with-iconv=${ICONV_PREFIX} \
--with-xml2=${LOCALBASE} --with-xslt=${LOCALBASE} \
--with-icu=${LOCALBASE} --enable-tcpd
LDFLAGS+= -L${LOCALBASE}/lib
--with-xml2 --with-xslt --with-icu --enable-tcpd
LIBS+= -lexecinfo

PORTDOCS= *
Expand Down

0 comments on commit ba3d7c3

Please sign in to comment.