diff --git a/textproc/libxml++26/Makefile b/textproc/libxml++26/Makefile index 0974dfebfbec..0686e1267b67 100644 --- a/textproc/libxml++26/Makefile +++ b/textproc/libxml++26/Makefile @@ -4,7 +4,7 @@ PORTNAME= libxml++ PORTVERSION= 2.34.2 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= textproc MASTER_SITES= GNOME @@ -17,22 +17,18 @@ PLIST_SUB= VERSION="2.6" API_VERSION="2.6" .if !defined(REFERENCE_PORT) -LATEST_LINK= libxml++26 - -LIB_DEPENDS= libglibmm-2.4.so:${PORTSDIR}/devel/glibmm BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 -USES+= gmake pathfix pkgconfig -USE_GNOME= libxml2 -GNU_CONFIGURE= yes +USES+= gmake libtool pathfix pkgconfig +USE_GNOME= glibmm libxml2 USE_LDCONFIG= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-static --disable-documentation +INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \ ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e '/^gentoo_ltmain_version=/s/`.*`/$$gentoo_lt_version/' \ - ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^library_configdir =/s/libdir/includedir/' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/^Cflags:/s/libdir/includedir/' \ diff --git a/textproc/libxml++26/pkg-plist b/textproc/libxml++26/pkg-plist index f9349c1b936b..5726a1f1531e 100644 --- a/textproc/libxml++26/pkg-plist +++ b/textproc/libxml++26/pkg-plist @@ -30,9 +30,9 @@ include/libxml++-%%API_VERSION%%/libxml++/validators/dtdvalidator.h include/libxml++-%%API_VERSION%%/libxml++/validators/schemavalidator.h include/libxml++-%%API_VERSION%%/libxml++/validators/validator.h lib/libxml++-%%VERSION%%.a -lib/libxml++-%%VERSION%%.la lib/libxml++-%%VERSION%%.so lib/libxml++-%%VERSION%%.so.2 +lib/libxml++-%%VERSION%%.so.2.0.7 libdata/pkgconfig/libxml++-%%API_VERSION%%.pc @dirrm include/libxml++-%%API_VERSION%%/libxml++/validators @dirrm include/libxml++-%%API_VERSION%%/libxml++/parsers