diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile index 1d621fadff50..b7f59851a248 100644 --- a/security/libgpg-error/Makefile +++ b/security/libgpg-error/Makefile @@ -1,43 +1,44 @@ PORTNAME= libgpg-error DISTVERSION= 1.48 +PORTREVISION= 1 CATEGORIES= security devel MASTER_SITES= GNUPG MAINTAINER= novel@FreeBSD.org COMMENT= Common error values for all GnuPG components WWW= https://www.gnupg.org/software/libgpg-error/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB USES= cpe libtool pathfix tar:bzip2 CPE_VENDOR= gnupg USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip DOCS= AUTHORS ChangeLog NEWS README INFO= gpgrt GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-static=yes \ --enable-install-gpg-error-config OPTIONS_DEFINE= DOCS NLS TEST OPTIONS_SUB= yes NLS_USES= gettext iconv NLS_CONFIGURE_OFF= --disable-nls NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} --with-libintl-prefix=${LOCALBASE} TEST_CONFIGURE_ENABLE= tests TEST_TARGET= check post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/libgpg-error/files/patch-src_gpgrt-config.in b/security/libgpg-error/files/patch-src_gpgrt-config.in new file mode 100644 index 000000000000..a916e552739a --- /dev/null +++ b/security/libgpg-error/files/patch-src_gpgrt-config.in @@ -0,0 +1,13 @@ +Fix default path to pkgconfig files. + +--- src/gpgrt-config.in.orig 2024-04-24 04:08:07 UTC ++++ src/gpgrt-config.in +@@ -460,7 +460,7 @@ determine_gpgrt_libdir () { + # Get the prefix of gpgrt-config assuming it's something like: + # /bin/gpgrt-config + gpgrt_prefix=${GPGRT_CONFIG%/*/*} +- possible_libdir1=${gpgrt_prefix}/lib ++ possible_libdir1=${gpgrt_prefix}/libdata + # Determine by using system libdir-format with CC, it's like: + # Normal style: /usr/lib + # GNU cross style: /usr//lib